locked
activities follow up bug RRS feed

  • Question

  • Hi,

    there is a bug which makes it impossible to assign tasks to another user. The functionality exists but the owner still remains the original one.

    There was a Hotfix which was probably removed due to other bugs.

    Has anyone a workaround for this?

     

    I am working with CRM 4.0.

     

    Thanks

     

    Ariel

    Tuesday, June 17, 2008 8:17 AM

Answers

  • Hi Ariel,

     

    Had the same problem, didn’t find the hotfix so i solved the problem with unsupported code.

     

    Basically MS send both current task ownerid and new (followup) ownerid to the server.
    Removing the current ownerid node from the xml that is sent to the server did the trick.

     

    Navigate to:
    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_static\_controls\RelatedInformation\Category_FollowUp.htc

     

    After line 163:

    Code Snippet

     

    var activityXml = crmFollowUpFormSubmit.crmFormSubmitXml.value;

     

     

    Insert the following code:

    Code Snippet

     

    var activityXmlDoc = loadXmlDocument(activityXml);
    var badOwnerNode = activityXmlDoc.selectNodes("/task/ownerid").item(1);
    activityXmlDoc.documentElement.removeChild(badOwnerNode);
    activityXml = activityXmlDoc.xml;

     

     

    use the fix until ms releases a new rollup that solves this issue.
    Hope this solves your problem.

     

    Cheers,
    Adi

     

     

     

    Tuesday, June 17, 2008 10:01 PM

All replies

  • Hi,

     

    I've just checked that the hotfix is not available for download anymore. The best option here should be contact Microsoft Support to check if they still can provide the hotfix, or any other kind of solution. They probably can guide you better on this as they have more info on the cause.

     

    Anyway, I'm not aware of any other possibleworkaround for this bug. Maybe using a plugin could be possible to overcome this problem, but it would require to make some reasearch on how to intercept the creation of that follow up and correct the parameters.

     

    I think that for the moment you should disable the form assitant and instruct the users to create the follow up tasks manually.

     

    Marco

    DynamicsCrmKicks - Dynamics CRM community driven news

     

     

    Tuesday, June 17, 2008 10:47 AM
    Moderator
  • Hi Ariel,

     

    Had the same problem, didn’t find the hotfix so i solved the problem with unsupported code.

     

    Basically MS send both current task ownerid and new (followup) ownerid to the server.
    Removing the current ownerid node from the xml that is sent to the server did the trick.

     

    Navigate to:
    C:\Program Files\Microsoft Dynamics CRM\CRMWeb\_static\_controls\RelatedInformation\Category_FollowUp.htc

     

    After line 163:

    Code Snippet

     

    var activityXml = crmFollowUpFormSubmit.crmFormSubmitXml.value;

     

     

    Insert the following code:

    Code Snippet

     

    var activityXmlDoc = loadXmlDocument(activityXml);
    var badOwnerNode = activityXmlDoc.selectNodes("/task/ownerid").item(1);
    activityXmlDoc.documentElement.removeChild(badOwnerNode);
    activityXml = activityXmlDoc.xml;

     

     

    use the fix until ms releases a new rollup that solves this issue.
    Hope this solves your problem.

     

    Cheers,
    Adi

     

     

     

    Tuesday, June 17, 2008 10:01 PM
  • Hi Adi,

    thank you very much!!! It works like a charm.

    There is only one thing I am not sure about. I am not able to see those task in Outlook. It seems as if CRM does not synchronize tasks that are not owned by yourself. Have you any idea or solution?

     

    Thanks in advance

    Ariel

     

    Wednesday, June 18, 2008 10:06 AM