Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Navigation Menu changes after IFrame loads

(0) ShareShare
ReportReport
Posted on by 54

Hi,

I have an IFrame in the task page which loads the parent form (another entity) inside it. The source of the IFrame is set using JavaScript during OnLoad on Task page. Initially on task page load, the navigation menu buttons are of the task entity. But when the parent entity's page gets loaded inside the IFrame, the navigation buttons of the task page gets changed to the buttons related to the parent entity. We want the buttons to remain as it is (Task menu buttons). Any idea how it can be done?

Thanks,

Suraj

*This post is locked for comments

  • Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Navigation Menu changes after IFrame loads

    i am afraid not - this is the reason why it is not supported and documented as such

  • surajcs55 Profile Picture
    surajcs55 54 on at
    RE: Navigation Menu changes after IFrame loads

    We have a lot of javascript validations on the form as well.. So QuickView won't help. Is there any way to change back the navigation buttons?

  • Suggested answer
    Radu Chiribelea Profile Picture
    Radu Chiribelea 6,667 on at
    RE: Navigation Menu changes after IFrame loads

    Hello,

    Loading a form within an IFrame on another form is not supported, please see https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/use-iframe-and-web-resource-controls-on-a-form. Probably the behavior you are facing is due to this. 

    You should use a Quick View form for this task : docs.microsoft.com/.../create-edit-quick-view-forms

    Regards,

    Radu

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans