I've added a field to the Account entity to store a URL string. It's formatted as a "Single Line of Text" with format type "URL." I then use JaveScript and the OnFormLoad event to calculate and populate this with a value, navigating to a web address that is rather cumbersome.
The URL address appears on the Account form correctly,
but I'd rather my users only see a hyper-linked text value which reads "Click Here" and not the URL itself.
What is the best way to perform this update?
In other words, how can I programmatically provide both the URL source and the visible text for a URL text field on a CRM Account form?
Thank Scott
Further Context:
How I assign the URL value in js:
var NewFieldUrl = Xrm.Page.data.entity.attributes.get("new_MyNewField");
var url = "https://long.crazy.url.that.I.would.like.my.users.never.to.see.com/moredatatohide" + otherData;
NewFieldUrl .setValue(url);
*This post is locked for comments
I have the same question (0)