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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to pass values from modal page into calling page

(0) ShareShare
ReportReport
Posted on by 5,136

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

I have the same question (0)
  • Verified answer
    mbr Profile Picture
    5,136 on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans