URL in plugins RRS feed

  • General discussion

  • I want to access the record url of a lookup field in plugin and have to put into one URL field.So that If I click on that URL text the user should directly move to that particular record.

    Can we achieve this functionality in plugin?Please let me know the solution or work around ASAP...its urgent.

    Prashant Wani

    Prashant Wani ,Software Engineer-II,Infinx Services Pvt.Ltd.

    Monday, January 12, 2015 10:11 AM

All replies

  • Hi Prashant,

    Do you mean you want to generate the URL of the look up record and set into text field so that user should be able to open record directly?

    You can achieve it through JS as well.

    - In below url dynamically set the entity type and Id of the record. Construct the URL. You can read the Server URL,Entity type and Id of lookup and construct the URl.


    - Set the constructed URL into text field.

    If you are using CRm 2013 we have new URl format of String type field available. if you are using CRM 2011 you can dynamically make it hyperlink. refer below link.



    Kalim Khan

    • Edited by Kalim Khan Monday, January 12, 2015 1:14 PM
    Monday, January 12, 2015 1:13 PM