In Application Studio, I am trying to add a new tab to the MES screen, it is meant to have some buttons to open some custom apps.
In the designer, I have my custom tab, displaying my custom page, with a panel card and a button inside. When I go to preview the layer, the custom tab I added is there but the panel card/button is not there and it is just blank.
Why am I seeing a discrepancy in what the designer is showing vs the preview? I must be missing something?
Heya just popping in here to share my experience with this in regard to David’s final statement.
I think that the Within the Application Map, Clicking on the ‘Data Collection’ widget allows you to add new by clicking the ‘+’. That creates a page-detail. The page-detail Name and Caption need to be the same as in the image below
Then, while editing the Data Collection Widget, click on the tabstrip widget, within the Data Dropdown, Click ‘data …’ then click the plus.
Punch in the exact same value into the tabstrip ID, and select the page from the drop down. If your page isnt in the drop down, you havent added the page-detail correctly.
I may have missed something in my tests, but if you tried the suggestions above and still fumbled, this try this- The page-detail’s Name and Caption need to equal the tabstrip’s ID and Page for it to work.
Edit: I tried this again on another screen, following my own instructions, and it didnt work intially: if this happens to you try saving your app studio draft and refreshing the app studio designer window, and re-linking the page to the tabstrip. ymmv