Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

Creating page and deploying it to nav client using query

Posted on by Microsoft Employee

Hi all,

How do I create a page table and add the query in? Then, how do I deploy it to the Nav client?

Pls help.

Thank you.

  • Suggested answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Creating page and deploying it to nav client using query

    Hi ,

    Are you trying to create a Role center ?

  • Stefano Demiliani Profile Picture
    Stefano Demiliani 37,152 on at
    RE: Creating page and deploying it to nav client using query

    Create your query, then create a table with the fieds of your query and a list page based on this table. On this list page, create a global variable that points to your query object. On this page, set SourceTableTemporary to Yes.

    Then, in OnOpenPage, open the query and load the data into the temporary table:

    YourQuery.OPEN;

    WHILE YourQuery.READ then

    begin

     //assign the fields from the query to the table

     INSERT;

    end;

    FINDFIRST; //returns to the first record.

    The table you create acts only as a buffer, this is not counted on customer's license (it's temporary).

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,773 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,513 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans