Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to pass values from modal page into calling page

(0) ShareShare
ReportReport
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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans