Options

adding a Request page on page

Hi All,

is it possible to add a some kind of request page that can be filter by user on a page object?

since i have a page that populate a large data and need to be filter by user

thanks,

Answers

  • Options
    DuikmeesterDuikmeester Member Posts: 304
    edited 2016-04-18
    Add this function to the Page and call in from an Action:
    LOCAL PROCEDURE BuildFilters@50000();
    VAR
      FilterBuilder@50000 : FilterPageBuilder;
    BEGIN
      FilterBuilder.ADDRECORD(TABLECAPTION,Rec);      //Add current Rec to the FilterPageBuilder
      FilterBuilder.SETVIEW(TABLECAPTION,GETVIEW);    //Set current View on the FilterPageBuilder
      IF FilterBuilder.RUNMODAL THEN                  //Run the FilterPageBuilder
        SETVIEW(FilterBuilder.GETVIEW(TABLECAPTION)); //Return the View from the FilterPageBuilder
    END;
    
  • Options
    AntidotEAntidotE Member Posts: 61
    edited 2016-04-18
    Necessary to mention this is for NAV 2016+
    https://msdn.microsoft.com/en-us/library/dn951487(v=nav.90).aspx

    other versions (2009, 2013, 2015) would require creating new table, page and playing with it a lot
    It is hard to swim against self bloodstream... (c) Old, experienced kamikadze.
  • Options
    mdPartnerNLmdPartnerNL Member Posts: 802
    in which existing object can I see this in action?
  • Options
    DuikmeesterDuikmeester Member Posts: 304
    edited 2016-04-19
    • Table 1520 Workflow Event
    • Codeunit 1530 Request Page Parameters Helper
    • Codeunit 5334 CRM Setup Defaults
    • Page 5335 Integration Table Mapping List
  • Options
    mdPartnerNLmdPartnerNL Member Posts: 802
    Thx
Sign In or Register to comment.