Hi everyone,
I have a use case for a user to initiate a Flow on selected records from a Model Driven App. I found @ScottDurow @scottdurowMS 's excellent video on this topic (specifically the chapter on Power Fx Modern Command Grid Button), but when I get to the point of declaring the target columns in the Patch function in the Power FX statement, they do not appear in Intellisense.
Things I have tried:
1. Add two columns, one a Date/Time format and one a text format, in case it was a column type issue.
2. Add the columns to the appropriate View for the Table.
3. Publish All Customisations.
4. Remove the Button I added to the Command Bar before I added the new columns. Add the button again, then try declaring the columns again in the Power FX statement.
5. In the Model Driven App, remove the appropriate Form/View for the target table from the App completely. Republish the App.
6. Ensure the two target columns mentioned in (1) have data for at least one record in the target table.
7. Wait 12 hours in case there was some latency.
It's very odd as Intellisense is showing the columns I originally had in the target table, but the columns I've added since to target the Patch statement will not show up despite everything attempted (listed above) so I can't progress.
I am using the Main Grid, not a Sub Grid as in Scott's video, but I can't see this would make any difference as the source data is the same.
Any help on this would be very much appreciated, thank you!