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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to pass context to...
Power Apps
Answered

How to pass context to a new form?

(0) ShareShare
ReportReport
Posted on by 2,297

I want to use a Details form to make a copy of a record into a new one.

 

So, I added a button on my Details form and added to the OnSelect property:

 

NewForm(CopyForm);;
Navigate(Cópia;UnCover;{KR:BrowseGallery.Selected.KR})

This works fine. The new form is created and the context is passed.

 

But, the issue is I have around 80 fields, and I don't want to manually type each and everyone of the them individually.

 

Is there a way to pass the context of all the fields at once?

 

Thanks for helping!

Categories:
  • Verified answer
    mdevaney Profile Picture
    29,993 Moderator on at

    @WebPortal 

    Just pass BrowseGallery.Selected.

    NewForm(CopyForm);;
    Navigate(Cópia;UnCover;{KR:BrowseGallery.Selected})

     

    On the next screen you can refer to any fieldname like this

    KR.yourFieldName

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

  • WebPortal Profile Picture
    2,297 on at

    Sure, thanks!

    But still have to go one by one on the next screen, right?

  • mdevaney Profile Picture
    29,993 Moderator on at

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard