Hi everyone,
I need to patch a new record to the table trigger, this table has a Name and a Value. The value that I need to pass in the column Value is the value that I need to lookup from the table parameter.
Their is no relationship (lookup column) between them and it is not possible to change this since this is a legacy project.
What I would normally do in a Canvas app is the following:
With({varValue: LookUp(Parameters,Name = "parameter1" ).Value},Patch(Triggers,Defaults(Triggers),{Name:"Test",Value:varValue}))
But this is my first time ever that I need to do it from the command bar in a model-driven app and I have no idea how to do this. How can I connect to an other datasource then the datasource that I'm currently using for edditing the command bar?
I hope someone could help me 😄