Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

How to create 1:1 relationship in MS CRM ?

(0) ShareShare
ReportReport
Posted on by 15

Hi,

Can anyone please tell how can I create 1:1 relationship in Ms CRM?

Example: I have two custom entity Project and Project Manager. If I have assigned a manager to a Project then same manager should not be assigned to some other project.

--> Project ML assigned to manager "A.Mishra" then A.Mishra should have only one Project (ML). If user to try to assign other projects to A.Mishra then it should throw an error like Manager is already assigned on a Project something like that.

Thanks in advance!!

  • Suggested answer
    pavanmanideep Profile Picture
    1,331 on at
    RE: How to create 1:1 relationship in MS CRM ?

    Hi,

    You could write a plugin on Project entity, whenever Project entity having project manager as lookup field should only be able to be updated when its null or empty, when it has a value, you can show your required error message through Invalid Plugin Execution exception...hope this helps...

    Cheers,

    PMDY

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 97

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans