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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Custom entities and relationships to system entity

(0) ShareShare
ReportReport
Posted on by 220

Hi

I have created a new entity called Category and I've created a 1:N relationship with the system entity Account...basically I am wanting to categorise my Account records.

I have added the relationship field to the Account form and it looks correct in that it is a lookup field.

The problem I have is when I open the Account form and navigate to the new field it is appearing as read-only although this has not been set for this field.

I don't know if this is something to do with security roles but no matter what I select it does not seem to "open" the field so I can select something from the list.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Custom entities and relationships to system entity

    If the field is read-only it definitely could be that the security role on the custom field is set to read-only. Try giving the security role "write" access as well if that's not already selected.

  • Verified answer
    redstephen69 Profile Picture
    220 on at
    RE: Custom entities and relationships to system entity

    Okay I've managed to resolve it as follows:

    1. Create the custom entity (in my case Category). Make sure "Define as an activity entity" is not ticked. Make sure everything under "Communication & Collaboration" is not ticked. Make sure "Areas that display this entity" has "workplace" ticked.

    2. Do not create a relationship - this is where I think I went wrong before as I did create the relationship myself.

    3. Go to the entity you want the relationship to be with (in my case Account) and create a new field. This field needs to be created as a Lookup field and you select the custom entity (in my case Category) as the "Target record type".

    4. Now add this field to the form.

    5. Make sure in the users security role they have "Read" and "Append To" privileges set.

    Doing it this way I have ended up with an entry on the main Workplace tab so system administrators can add new categories (this is under the "Extensions" menu item) and the user can select the category when in the account entity using the lookup field.

    Hope this helps anyone who ends up here!

  • Suggested answer
    JessicaEllen Profile Picture
    5 on at
    RE: Custom entities and relationships to system entity

    Thank you so much! I ran into this issue and had done all of the steps EXCEPT to add it to the form. I didn't realize that is what actually created the necessary relationship.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans