I have set up my test app as follows:
1. My primary table is "testStatusCodes", a OneDrive Excel table containing only one column, 'Status Code'.
2. My lookup table is "ProcessSteps", a OneDrive Excel table with two relevant columns: 'Status Code' and 'Next Step'
3. My gallery uses testStatusCodes as its data source, displaying all my status codes.
4. My gallery has two fields: v.StatusCode linked to my primary data source (to separate the data elements, so I can see how to use them in my application), and 'v.NextAction', the value I want to retrieve with LookUp.
I am trying to get the LookUp function to work. I see that I do not need to qualify the scope for the field in the primary table. Here is the logic I'm currently using in 'v.NextAction'.Text:
- LookUp(ProcessSteps,v.StatusCode=ProcessSteps.'Status Code','Next Step')
Error help says "Invalid argument type" for v.NextAction.Text. What am I missing?