Following a video from Brian Dang, I am trying to get the Text label in a Component Header to automatically populate on each new screen in my app.
In the App itself under OnStart, I have the following:
ClearCollect(colScreen,{id: 1, displayName: "New Request",screen: scrNewRequest},{id: 2, displayName: "View & Edit",screen:scrViewScreen}), where the screen name is the name of the screen in the app.
When I add the header and use the HeaderText field (created in a separate component app where I made the header),, I am using this formula: LookUp(colScreen,screen=App.ActiveScreen,displayName)
Once the formula is entered, is shows the result as Blank.
Am I missing something? I see no errors in either formulas.