Asked by:
Custom Url field entry format in CRM 2013 On premise

Question
-
Hi Everyone,
Anybody know how to bypass the url field format ?
Only HTTP,HTTPS, FTP, FTPS or OneNote were authorized to be saved...
I have to store other urls format in this field because they must be clickable.
Thanks a lotTuesday, March 18, 2014 3:17 PM
All replies
-
Hi Goan,
I don't think there's a way to bypass the format validation for a OOB URL field. What you can do is use a single text field, and possibly use some "unsupported" scripts to make those clickable.
Tuesday, March 18, 2014 3:45 PM -
Hi,
it's not possible to change the protocols for the url field format. You can store your link inside a text field and use an HTML web resource to display the value as clickable, it's a supported customization.My blog: www.crmanswers.net - Rockstar 365 Profile
Tuesday, March 18, 2014 3:48 PM -
I need this functionally to use teamviewer support software.
the url format is like "teamviewer8://remotecontrol/?connectcc=000000000&username=contact@hotmail.com"
When i click on link, my browser opening an other window en run the teamviewer session.
thanks for your help.
Tuesday, March 18, 2014 4:17 PM -
Hi,
Have you any examples of this customization?
All i found is not applicable or doesn't work to CRM2013...
Thanks a lot.
Tuesday, March 18, 2014 4:20 PM -
On load of form attach event listener to textbox filed
var myel= Xrm.Page.getAttribute(“fieldname″);
myel.onclick=function(){
window.open(myel.getValue());
};
Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"
- Proposed as answer by Mr. Santosh Bhagat Wednesday, March 19, 2014 4:41 AM
- Marked as answer by Goan69 Wednesday, March 19, 2014 8:28 AM
- Unmarked as answer by Goan69 Wednesday, March 19, 2014 2:01 PM
Wednesday, March 19, 2014 4:40 AM -
Hi,
I'm sorry but i'm a newb in jscript...
I created a webresource with your script and load it on my form but i have an error like this:
there has a error with this field's customized event.
Field:window
Event: onload
Error: "teamviewer" is undefined
for information, my field was named "new_test"
Wednesday, March 19, 2014 9:41 AM -
Hi,
No Idea?
Thanks for your help.
Monday, March 24, 2014 10:01 AM -
Hi Goan69,
There seems to be some syntax error with your script. Can you post your script here so we know what's wrong?
Monday, March 24, 2014 12:26 PM