Hello,
I am creating new buttons on the Command bar in a Model Driven app. that will clone Dataverse records from within the app. This has worked well on four out of the six tables in the app. The two tables that are failing are called 'Product' and 'Contract Option'.
This is what a successful button looks like on one of the tables -
This is the error on the 'Product' table. The display name of the 'Primary name column' is also 'Product' but the logical name is cre8f_Name. So, it seems to me that the argument is getting the name (value?) of the table.
This is the error on the 'Options' table - the 'Option No.' field is the display name for the 'Primary name column' and 'cre8f_newcolumn' is the logical name and it is a Text field.
I have tried different display names but the changes are not visible or accepted when writing the function.
I'm new to PowerFx and have been working this problem for a week. Any help will be greatly appreciated.