Hi All,
I want to change the URL Display text with other Field Value
ex: Path field is URL , i want to change the display text to Name field value and link should still point to URL.
*This post is locked for comments
Hi All,
I want to change the URL Display text with other Field Value
ex: Path field is URL , i want to change the display text to Name field value and link should still point to URL.
*This post is locked for comments
Hi Irfan,
Could you share the step by step how you achieved this ? Im trying to set the long ugly URLs we see in a subgrid or any view grid to simple text or image.
Thanks,
Arpita
Hi Aric ,
i did some javascript coding and am able to open the url but it is opening both windows(Entity details window and url redirected window).
reference link : https://community.dynamics.com/crm/b/crmtipsfromadeveloper/archive/2017/06/19/know-how-mscrm-open-external-url-using-xrm-utility-openwebresource-d365
can we open it in same window??
and there is no need for IFRAME for me now.
Goutam,
the solution you told will replace Label of field but not static text of field
Hi Irfan ,
Try with this -
Xrm.Page.getControl("fieldname").setLabel('URL');
What you can do is in the onload event of your form (in edit mode), retrieve the value of the path field, and redirect.
The issue with that is that the form will always redirect in edit mode, so you will not be able to make changes to the path (unless you are creating a new record),
Maybe another alternative is having an IFRAME on the form, and displaying the path inside the IFRAME on the form?
Hope this helps.
Hi,
if you want to customize the field behavior, i don't think there is a supported method. But you can create a custom button, user can select the record and click on the custom button, and open the url .
Can we do following scenario
When i click entity record Facebook then it should get the URL from path field and redirect with in same window
Hi,
this is not possible within CRM.
André Arnaud de Cal... 291,711 Super User 2024 Season 2
Martin Dráb 230,458 Most Valuable Professional
nmaenpaa 101,156