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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Viewing a Custom Entity within an Iframe

(0) ShareShare
ReportReport
Posted on by 230

Hi All,

I've got a requirement that will either end up customizing the Case entity to add alot of custom attributes (not my preferred option as it's only for one business unit), or I could create a specific custom entity to store these business unit specific attributes in, and specifiy the relationship between the Case and Custome Entity (1:1?)

There will be a 1:1 relationship between the case and this custom entity, which doesn't seem to be supported within CRM 4.0, but I should be able to enforce this via a plug-in if required.

So, when the user creates, updates the case. I need to display the custom entity within an IFrame so that it can be directly editable, some of the attributes will have to hidden on the Custom entity form depending upon the Subject type selected for the case. Should be able to perform this using JavaScript once the IFrame has loaded.

Can this be done? If so how.

 

*This post is locked for comments

I have the same question (0)
  • Andrius Karazinas Profile Picture
    5 on at
    Hi try this http://mscrminscotland.blogspot.com/2010/02/showing-custom-entity-in-iframe.html
  • ozkary Profile Picture
    on at

    Hi Stephen,

       How this approach work for you?  Can you share any issues or suggestions?

    thanks

  • Stephen Duncalf Profile Picture
    230 on at

    We had a CRM 4.0 environment, where this particular functionality was required. Following the example within the blog it worked fine in a POC we produced for the business. We had to include a lot of other additional JavaScript to hide other page content that was a pain to find the actual contact id/name, but once you'd found it you're ok.

    In the end we didn't implement this, as the business requirements changed (no shock there!).

    Sorry I can't be much more help, but it was some time ago.

  • ozkary Profile Picture
    on at

    I can see the need for the JS. Thanks for the additional information that helps.

  • ozkary Profile Picture
    on at

    When it comes to 1:1 associations, CRM works better by just adding the custom fields to the entity instead of creating a whole new entity (or extension).  The effort to enforce the 1:1 constraint and navigation issues may be too costly for the project.   I hope this provides some help.

    If you look at the database level, all the new fields will be added to the EntityExtensionBase table automatically.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans