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 reliably pass p...
Power Apps
Answered

How to reliably pass parameters from one app to another

(0) ShareShare
ReportReport
Posted on by 299 Moderator
I'm using a library component, and everything seems to work differently than your usual Power Apps forms etc.
 
I used to pass all the parameters individually from app 1 to app 2, and before release day, I noticed it dropped 3 parameters, so the URL wasn't displaying them, and taking user to the wrong path as a result. 
 
My record always has a lookup column elsewhere, so The JSON function cannot serialize tables / objects with a nested property called '_ownerid_value' of type 'Polymorphic'. 
Launch(
ActionsAppURL,
{
data: JSON(SelectedAction, JSONFormat.IncludeBinaryData)
}
Is there a reliable way to pass the record and populate it in the parent app? I'm trying to pass less parameters, and still I saw the RecordCount parameter go missing, which is what drives most of the behaviour (0 means new action, 1 means existing action, more than 1 list of actions). The purpose is to either land in list of actions, or single action screen
Categories:
I have the same question (0)
  • Verified answer
    Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
    Hello @inanoffice23
     
    That won’t really work in a reliable way. Passing the whole record via Launch() breaks as soon as the record contains lookup columns (especially polymorphic ones like _ownerid_value), because JSON() can’t serialize them. On top of that, URL parameters can get truncated, so values can silently go missing.

    What does work is passing only the values you actually need, but wrapped in a single parameter. For example, pass a small JSON object made up of simple types only (no lookups / records / tables):

    Launch(
        ActionsAppURL,
        {
            ActionId: 25,
            RecordCount: 2
        }
    )

    Then in the target app, read and parse that parameter and load the record again using LookUp().

    In App 2 (OnStart or OnVisible):

    example:

    Set(
        g_ActionDetails,
        If(
            Param("RecordCount") = 1,
            LookUp(
                Actions, //Please use your list or table name
                ActionId = Value(Param("ActionId")) //ActionId - use your comparison column here
            )
        )
    );

     

    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard