web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

Access value from a page in another page.

(0) ShareShare
ReportReport
Posted on by 95


I have 2 pages, let's call them Page1 & Page2. Page1 is a List, Page2 is a StandardDialog.

In Page1, I have an action that calls Page2. Page2 is for the user to select a Document No (This is a Code[20]).

I want to access the value which user selected on Page2 inside Page1's action.

I tried creating a Record Variable of Page2 and tried accessing it in Page1 like such Page2.GetRecord();

But it did not work. How do I access the Document No from Page2 in Page1?

Categories:
I have the same question (0)
  • ManishS Profile Picture
    86 on at

    You need to create a function in page 1, pass these values from page 2.

    In page 1 you need to set these value as global values that are being passed as parameter from page 2.

  • Suggested answer
    Suresh Kulla Profile Picture
    50,251 Super User 2025 Season 2 on at

    Create a new function in the page2 and pass the value to the function from Page1 and in the function set the value to a global variable, which you will have access after the Page2 is being called.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans