get case link on workflow crm 4 RRS feed

  • Question

  • hi

    i have search how to get case link in crm 4 but i couldnt find any article about it

    i have a workflow on case entity and i want to get the case link on workflow

    is it possible?

    Software Specialist Crm

    Tuesday, March 27, 2012 11:49 AM


All replies

  • Hello,

    You should donwnload accelerator - http://crmaccelerators.codeplex.com/releases/view/26691. It contains generator of urls.

    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter

    Tuesday, March 27, 2012 11:56 AM
  • can i get the url by using js?

    Software Specialist Crm

    Tuesday, March 27, 2012 12:05 PM

  • var query = window.location;

    i can get the link but i cant save it to attribute any idea?

    Software Specialist Crm

    Tuesday, March 27, 2012 12:53 PM
  • Try to use

    var query = window.location.href;

    Microsoft CRM Freelancer

    My blog (english)
    Мой блог (русскоязычный)
    Follow Andriy on Twitter

    Tuesday, March 27, 2012 12:57 PM
  • Hi,

    ***Actually in MS CRM 4.0 the 'Case' will be called as by the entity name 'Incident'.

    1. In your case to get the URL In the Workflow you must register the accelerator as a Plug-In using plug-in Registration tool:as Andrill suggested follow the given link:


    2. But your asking how to get the case url by using JavaScript - this is just an example: build your own code

    <? xml version='1.0' encoding='utf-8' ?>

    <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'>


    <query xmlns:q1='http://schemas.microsoft.com/crm/2006/Query' xsi:type='q1:QueryByAttribute' xmlns='http://schemas.microsoft.com/crm/2006/WebServices'>


    <q1:ColumnSet xsi:type="q1:ColumnSet">










    <q1:Value xsi:type="xsd:string">CRITERIA_VALUE</q1:Value>





    var xmlResponse = xmlhttp.responseXML;



    var caseID = xmlResponse.selectNodes("//BusinessEntity/incidentid"); //incidentid = ATTRIBUTE1

    var caseslistnames = xmlResponse.selectNodes("//BusinessEntity/fullname"); //fullname = ATTRIBUTE2

    For the entity form...

    ...of CRM entities

     - http://crmserver/org/sfa/accts/edit.aspx (Account)
     - http://crmserver/org/sfa/conts/edit.aspx (Contact) like wise for Case URL will be given below

    var caseURL = "http://crmserver/org/sfa/incident/edit.aspx" (Case) pass like statically(not recommended)

    recommending the above JavaScript code

    Thanks, - Israel Pradeep, - Software Engineer & PMP & B.I - Entrepreneur. - - If this post answers your question, please click "Mark As Answer" on the post and "Mark as Helpful". For More Information, please feel free to visit our website- http://xrmxtensibles.wordpress.com/

    Tuesday, March 27, 2012 1:14 PM