Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Why Dynamics 365 page Iframe changes?

Posted on by 25

Hello,

I have an issue with IFrames. F.e On lead creation form there were few frames with the names: ContentIFrame1 and ContentIFrame0. As I am writing automation scripts, which says Selenium to switch from default content to one of the frames according to my needs and make some actions, after solution import, updates - Iframe id changed to f.e ContentIFrame2 so I should change scripts again and again.

Could anyone explain me, how CRM dynamics generates these iframes? What changes in the system, that IFrame name changes also? Some changes also were noticed with the searc field.

*This post is locked for comments

  • ashlega Profile Picture
    ashlega 34,475 on at
    RE: Why Dynamics 365 page Iframe changes?

    Unfortunately, this is entirely up to Microsoft. This is why working with the HTML DOM model is not recommended/supported in Dynamics.

    Not sure if you've seen EasyRepro: github.com/.../EasyRepro

    Presumably, that solution is supported by Microsoft, so I am guessing they would know how to locate different HTML elements safely.. Although, I'd still question whether it's a safe/stable/reliable approach and how much maintenance would be required..

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans