Thursday, 16 April 2015

CRM 2015 - Perform specialized operations using Update

Functionality now available on release of new sdk release (7.1.a ,March 2015)

Before this release, some specialized messages should be called to update some entity fields, methods like assign request or set state request.


However, from this release on it would be able to be done from the Update message. 


Please see the below table to see what are the deprecated methods.


Deprecated message request Attribute to update 

AssignRequest 

<entity>. OwnerId 

SetStateRequest 

<entity>. StateCode 

Important 
For   SLA   and   RoutingRule   entities, changing the   OwnerId   and   StateCode   in a single   Update   message invocation is not supported and results in an exception. 

SetParentSystemUserRequest 

SystemUser.ParentSystemUserId 

SetParentTeamRequest 

Team.BusinessUnitId 

SetParentBusinessUnitRequest 

BusinessUnit.ParentBusinessUnitId 

SetBusinessEquipmentRequest 

Equipment.BusinessUnitId 

SetBusinessSystemUserRequest 

SystemUser.BusinessUnitId 

*<entity> refers to any entity that provides this attribute. 

Source of the information:

https://msdn.microsoft.com/en-us/library/dn932124.aspx 


Hope in helps.

No comments:

Post a Comment

CRM 365 Cloud - Disassociate 2 records using typescript

In case you need to Disassociate 2 records, please find below the code that allows you to do that.      export async function DissociateE...