Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Plugin and Default team for a Business Unit (2015 on prem)

$
0
0

I have a "Primary Team" field in User entity, the ownership of any record created by a user gets set to the value of this "Primary Team" field.

Currently working on a plugin that executes on Create message of businessunit entity, assigns a selected user to this newly created business unit, and sets their "Primary Team" field value to the default team that CRM creates for the business unit. The problem is that default team is not available  at the time of Create PostOperation (trying to select with fetchxml in plugin), plugin works fine on Update.

Thanks in advance!


Viewing all articles
Browse latest Browse all 46379

Trending Articles