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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / link to form in model-...
Power Apps
Answered

link to form in model-driven app from canvas app

(0) ShareShare
ReportReport
Posted on by 597

Dear,

 

How can we generate links to specific entity record forms of a model-driven app from within a canvas app in the same environment?

The canvas app should always link back to a specific model-driven app (with a specific name) in the same environment (which should be fetched during runtime)

 

for example, canvas app [CA] shows a list of entities [abc_myentity]; when the user clicks on the link for a specific record, it should go to the main entity form of that record in model-driven app [MDA] in environment A, looking something like:

https://{currentenvironment}.crm.dynamics.com/main.aspx?appid={modeldrivenappID}&pagetype=entityrecord&etn=abc_myentity&id={selectedrecordID} 

 

I know of the function 

 

 

PowerAppsforMakers.GetApps()

 

 

but it only returns Canvas Apps and shows all apps accross all environments the user has access to...

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    on at

    Hi @KoenJanssensPD ,

     

    You will be able to open a new tab linking to the specific Form page of a Model-driven app when using Launch function OnSelect of a button or other Controls, and fill the parameter with the URL:

    Launch("https://{currentenvironment}.crm.dynamics.com/main.aspx?appid={modeldrivenappID}&pagetype=entityrecord&etn=abc_myentity&id=" && selectedrecord.GUID)

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • KoJaPD Profile Picture
    597 on at

    Dear,

    Thanks, but that is only part of the solution. I still need to find a way to get the "current environment ID" and the "model driven app ID" (to be found using the name)... How would I do that?

    Thanks

  • Verified answer
    KoJaPD Profile Picture
    597 on at

    FYI, I have found a second-best option, to use Environment Variables like "CurrentEnvironmentRootURL" and "ModelDrivenAppGUID"...

  • fieldnamechange Profile Picture
    4 on at

    I am also looking for the same solution.

     

    Could anyone guide me how to get the model driven app id in PowerApps page dynamically without passing the guid or app name. I have checked for the "PowerApps for admins and PowerApps for makers" but they ask for either name or id of the app and also they will fetch only the current canvas app Id and name only and not for the other apps. please help to get the Id directly. I am new to power platforms

     

    My requirement is to call a common functionality in 3 apps but while performing the action it should navigate to the task form in respective apps only.

    previously we have this functionality only for single app so we just hard coded the app id but now as its going to be in 3 apps so we need to get the app id at run time only

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard