Updating owner id of the report entitiy record in MS CRM 2011 RRS feed

  • Question

  • Hi All,

    Is this possible to update/assign  the owner of the report record using crmservice in MS CRM 2011?
    If yes how can we do?


    Srikanth Reddy

    Monday, July 14, 2014 3:04 PM

All replies

  • you need to use the assign request, you can start from this code:

    Guid reportId = new Guid("90F8889F-EB95-E781-8417-000C44420CBC");
    Guid newOwnerId = new Guid("A8AA28B4-9015-DF11-8062-000E0CA08051");
    AssignRequest assignRequest = new AssignRequest
                Assignee = new EntityReference("systemuser", newOwnerId),
                Target = new EntityReference("report", reportId)

    My blog: www.crmanswers.net - Rockstar 365 Profile

    Monday, July 14, 2014 6:17 PM