Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

How to pass values from modal page into calling page

Posted on by 5,124

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,124 on at
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans