Post

2 followers Follow
0
Avatar

Setting title on URL type field via REST API call

I have a custom field on an object of type 'URL', the value of which I am setting via REST API call. When I set the value on the form in the UI, I have the option to give the URL an optional Title display value. I have not been able to find a way to set this Title with the REST call. Is this currently possible and if so, how might I do that? Thanks!

Levi Bowman Answered

Please sign in to leave a comment.

2 comments

1
Avatar

Hi Levi,

Provide the HTML of an anchor element as the value for the URL field. Clarizen will parse it accordingly:

For example:  Providing "<a href='http://www.clarizen.com'>Clarizen</a>" would result in a URL with a title of "Clarizen" referencing Clarizen's web site.

Hope this helps,

Ophir

Ophir Kenig 1 vote
Comment actions Permalink
0
Avatar

Hi Ophir,

Thanks for the quick response; your solution worked perfectly. Thanks!

Levi Bowman 0 votes
Comment actions Permalink