Open Page and Set Page Name

doddwell
doddwell Member Posts: 65
Hello

I have a Role Centre that has two page elements:
- "Activities" CardPart with CueGroup tiles
- "Statistics" List

The Activities and Statistics elements contain data derived from the Customer table. When the user clicks on either element, the Lookup Page is the same (to a bespoke Customer List page).

When the user clicks a tile in the Activities CardPart, it then opens the Customer List and which takes its title from the name of the Tile in the CueGroup
When the user clicks Statistics List, it then opens the Customer List which takes its title from the name of the Customer List Page

I'd like the Customer List Page title to be consistent - can I control it?

Thanks

Answers

  • Slawek_Guzek
    Slawek_Guzek Member Posts: 1,692
    You have the DataCaptionExpr property on the page which you can use to enforce specific page caption.
    Slawek Guzek - www.yitron.co.uk
    Business Central, MS SQL Server, Wherescape RED;
  • doddwell
    doddwell Member Posts: 65
    Hello Slawek_Guzek. I have tried that but can't get it to work. I created a new Global Text Variable "myPageCaption" and set it in the OnOpenPage event. The DataCaptionExpr Property is set to "myPageCaption". Thanks