
Announcements
Hello,
This is my first time ever posting here so I apologize if I am in the wrong place.
I have a model-driven app that acts as an inventory system with sales elements. The team that will use it enters assets that are then sold. Pretty basic.
The problem I'm running into is regarding a custom command button to patch defaults into the asset table. I can get it to work on a different table, but the app checker continuously tells me it expects a single datasource.
I cannot see where there is a second datasource being used by the formula, shown below:
I do note that there is a peculiarity with the table name in that it is actually Assets, but when I write the formula, Intellisense only shows Assets_1 and that's the only way to put it that won't pop syntax errors.
I am strongly hoping that this is just some rookie thing I'm overlooking, but I have searched seemingly everywhere for a solution. I greatly appreciate any assistance I can receive with this. Thank you.
Update: I got the error to go away. As it happens, I found some errant solution related connections. I cleaned those up and refreshed the datasource connection in the component library and the datasource properly connected as just Asset. However, while neither formula or button throw an error, the button simply does nothing. I thought maybe it as because a required field wasn't included in the Patch, but I included all custom required columns and it still does nothing.