Answered by:
Plugin message for 1:N/ N:1 relationship

Question
-
Hi,
There is a scenario. There are total 4 entities. Say entity1, entity2, entity3 and entity4. Now entity1 is having 1:N relationship with all three entities. Means entity1 is present on other entities as a lookup field. Now whenever entity1 is selected in entity2/entity3/entity4, I need to change a value in the entity1's field. I am looking if there is any message for which I can trigger a plugin. I am not looking forward the solution to write three plugins or workflow to solve this purpose.
Any suggestions?
Regards,
Krutika Suchak
- Edited by Krutika Suchak Wednesday, July 22, 2015 12:21 PM
Wednesday, July 22, 2015 10:51 AM
Answers
-
Hello Krutika,
I believe you can develop 1 plugin and register it against 3 entities - entity2/3/4.
So one plugin and 3 steps.
Dynamics CRM MVP
My blog- Marked as answer by Krutika Suchak Wednesday, July 22, 2015 12:30 PM
Wednesday, July 22, 2015 10:56 AMModerator
All replies
-
Hello Krutika,
I believe you can develop 1 plugin and register it against 3 entities - entity2/3/4.
So one plugin and 3 steps.
Dynamics CRM MVP
My blog- Marked as answer by Krutika Suchak Wednesday, July 22, 2015 12:30 PM
Wednesday, July 22, 2015 10:56 AMModerator -
Hi,
There is a scenario. There are total 4 entities. Say entity1, entity2, entity3 and entity4. Now entity1 is having 1:N relationship with all three entities. Means Entity1 is present on other three entities as a lookup field. Now whenever entity1 is selected in entity2/entity3/entity4, I need to change a value in the entity1's field. I am looking if there is any message for which I can trigger a plugin. I am not looking forward the solution to write three plugins or workflow to solve this purpose.
Any suggestions?
Regards,
Krutika Suchak
- Merged by Andrii ButenkoMVP, Moderator Wednesday, July 22, 2015 12:55 PM The same thread
Wednesday, July 22, 2015 12:19 PM -
Oh yes. Understood. Thanks for the reply.Wednesday, July 22, 2015 12:26 PM