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 / Don't want to open the...
Power Apps
Suggested Answer

Don't want to open the app in new tabh

(1) ShareShare
ReportReport
Posted on by 24
Previously, I had embedded a custom page in the model-driven app. Now I have updated the URL, and it is opening in a different tab. However, when I click the Back button, it stays on the same page and does not navigate back to the model-driven app.
Categories:
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    The Back button does not work because the updated URL opens in a new browser tab, which has no navigation history linked to the model-driven app.
     
    To restore expected behavior, either embed the custom page within the app again, open the URL in the same tab, or implement a custom back navigation mechanism.
  • Kalathiya Profile Picture
    2,456 Super User 2026 Season 1 on at
     
    This happens because the updated URL is opening in a new browser tab, so the Back button is only navigating within that tab so not back to your model-driven app.
     
    You can try to implement this way:
    #1. Create a “Back to App” link/button on your custom page that points to the model-driven app URL.
    #2. Create custom page or something so that will open in model driven itself so it will work. 
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
  • RV-13100656-0 Profile Picture
    24 on at
    @11manish please explain about  implement a custom back navigation mechanism.
  • 11manish Profile Picture
    3,333 on at
     If it’s a custom page:
     
    Xrm.Navigation.navigateTo({
        pageType: "custom",
        name: "your_custom_page"
    });
  • RV-13100656-0 Profile Picture
    24 on at
    @11manish initially i have custom page but now i want to replace canvas built as from canvas not from page
  • Suggested answer
    Valantis Profile Picture
    6,735 on at
     
    The opening in a new tab is almost certainly because the URL you added to the sitemap is pointing to an external URL or a direct canvas app play link, which the browser opens in a new tab by default.
     
    To embed a canvas app inside the model-driven app so it stays in the same frame and the back navigation works properly, don't use the play link URL directly in the sitemap. Instead:
     
    1. Go to your MDA in App Designer
    2. In the sitemap, add a new subarea
    3. Set the Type to Canvas App (not URL)
    4. Select your canvas app from the list
     
    This embeds the canvas app directly inside the MDA chrome so it opens in the same window and back navigation works as expected.
     
    If you still need a back button inside the canvas app itself, use this formula on a button:
     
    Xrm.Navigation.openUrl or use the Back() function in canvas PowerApps context
    Can you share how you're currently adding the canvas app to the MDA? Via sitemap URL, web resource, or another way? That will confirm the exact fix.
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Valantis Profile Picture
    6,735 on at

    Hi @RV-13100656-0,

    Just wanted to check in and see if everything is working now. If you still need any help, feel free to let me know.

    Also, if the issue is resolved, it would be great if you could mark the answer as solved so others with the same question can find it easily.

     

    Thanks and have a great day!

     

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