Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : vcC9t4CIJ3y4DykN1ZONZS
Microsoft Dynamics NAV (Archived)

How to pass values from modal page into calling page

Like (0) ShareShare
ReportReport
Posted on 24 Nov 2015 06:31:36 by 5,126

On Newrecord event of a page (e.g., Vendor Card page), I am calling function that will run a page modally (page.runmodal(<pageid>)).  On close of that modal page, I want to return some values from that modal page into the calling page.  How do I make this happen?

*This post is locked for comments

  • Verified answer
    mbr Profile Picture
    mbr 5,126 on 25 Nov 2015 at 15:33:35
    RE: How to pass values from modal page into calling page

    Hello all.  I somehow figured this out.  I ended up working around the problem of the modal page not being able t pass values back to the calling page.  I ended up creating a temp record in a table.  Then after modal page closes, I retrieve the temp record which takes care of the values I needed.  then lastly, I delete the temp record.  Not very pretty...but it will do for now.

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

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,608 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,558 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading started