<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/4918/is-it-possible-to-set-the-link-text-for-a-url-field-type</link><description>Is it possible to provide a &amp;quot;link text&amp;quot; for a URL field type such that displaying the URL-typed field shows the link text and not the URL stored in the URL field? 
 Background: In a &amp;quot;parent&amp;quot; Opportunity / Account / Contact, we store a link to the last</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/32158?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 23:18:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0c2e7df2-a42f-49c8-825e-1bb728a5e517</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;I read this thread and I think the OP is asking for something completely different than what everyone responded. My understanding is that he would rather have the field&amp;nbsp;be hyperlinked text (i.e. the activity&amp;#39;s actual name/subject) rather than being a URL. He mentions reporting as his use case, so I thought he wanted&amp;nbsp;the last activity date accompanied with the title of the last activity performed rather than a non-descript URL. If my understanding is accurate, it would definitely take customization to achieve.&lt;/p&gt;
&lt;p&gt;In any event, he hasn&amp;#39;t been active in the community in years so we&amp;nbsp;will likely never know&amp;nbsp;&lt;span class="emoticon" data-url="https://sugarclub.sugarcrm.com/cfs-file/__key/system/emoji/1f606.svg" title="Laughing"&gt;&amp;#x1f606;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/32156?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 19:54:37 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:0a27e0eb-08cf-4a80-b100-587e6ce7b402</guid><dc:creator>Francesca Shiekh</dc:creator><description>&lt;p&gt;For anyone coming across this you can now use:&amp;nbsp;&lt;a href="https://support.sugarcrm.com/documentation/sugar_versions/13.3/sell/administration_guide/developer_tools/studio/fields/#Generate_URL"&gt;https://support.sugarcrm.com/documentation/sugar_versions/13.3/sell/administration_guide/developer_tools/studio/fields/#Generate_URL&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/24214?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 12:57:35 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:a51d51a1-f3b2-4098-8f97-26b0419f4deb</guid><dc:creator>Luke Ridgway</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/vinceoutlaw"&gt;Vince Outlaw&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;I created what i think is exactly what you are asking in a few modules of ours.&lt;/p&gt;
&lt;p&gt;Its just a text fields using CONCAT and a big IFELSE statement... &amp;nbsp;In the example screenshot below DHL is selected, the first part is their tracking url, followed by the tracking number:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/54/text_5F00_field_5F00_concat.png" /&gt;&lt;/p&gt;
&lt;p&gt;And the first part of the Calculated Formula:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;ifElse(&lt;br /&gt;&amp;nbsp;contains($shippedvia,&amp;quot;DHL&amp;quot;),&lt;br /&gt;concat(&amp;quot;___the dhl tracking url here___&amp;quot;,$trackingnumber),&lt;br /&gt;&amp;nbsp;ifElse(contains($shippedvia,&amp;quot;UPS&amp;quot;), ... &amp;nbsp;and so on...&lt;/p&gt;
&lt;p&gt;We then use this TEXT field to populate our URL field. &amp;nbsp;As&amp;nbsp;&lt;a href="/members/aserrazina"&gt;Andre Serrazina&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="/members/chupylka"&gt;Dmytro Chupylka&lt;/a&gt;&amp;nbsp;mention also: &amp;nbsp;the text field will be &amp;#39;live&amp;#39; - before save it will change as I change the tracking number the courier in my example. &amp;nbsp; &amp;nbsp;The URL field only populates after save.&lt;/p&gt;
&lt;p&gt;Anyway, hopefully an example helps...&lt;br /&gt;Luke.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/24210?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 10:59:32 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:b0ad847b-5fd8-48ec-8807-d6b3f865df4e</guid><dc:creator>Dmytro Chupylka</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;+1 to&amp;nbsp;&amp;nbsp;&lt;a href="/members/aserrazina"&gt;Andre Serrazina&lt;/a&gt;&amp;nbsp;suggestion regarding additional TextField - that is&amp;nbsp;configurable with no-code and text refreshed on rec saving shouldn&amp;#39;t be an issue.&lt;/p&gt;
&lt;p&gt;However, let me ask why is it chosen to use links? The link does not emerge the content for the user until is clicked...&lt;br /&gt;Also, the physically latest activity in many cases could be non-meaningful from a CRM perspective - e.g. is it correct to&amp;nbsp;treat e.g.internal task regarding the parent record as the last CRM activity.&lt;br /&gt;&lt;br /&gt;Isn&amp;#39;t that the recent activities and future activities representation on the pane, one the users may immediately benefit from when observing the record?&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="/resized-image/__size/1654x922/__key/communityserver-discussions-components-files/54/picture1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/24209?ContentTypeID=1</link><pubDate>Wed, 07 Jul 2021 08:26:09 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:e4dfff00-0df5-4b1d-ae73-90dc6a370c86</guid><dc:creator>Andre Serrazina</dc:creator><description>&lt;p&gt;Another option would be to create a new&amp;nbsp;&lt;span&gt;TextField type field calculating from your URL type field and then use that field in the Record view instead.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/54/pastedimage1625646353101v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The downside is that you will need to re-save the existing records to have the field being calculated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to set the link text for a URL field type?</title><link>https://sugarclub.sugarcrm.com/thread/24192?ContentTypeID=1</link><pubDate>Tue, 06 Jul 2021 21:14:53 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:ea3e455a-92dd-4172-a7b0-1fb8b7e363ef</guid><dc:creator>Andr&amp;#233; Lopes</dc:creator><description>&lt;p&gt;I believe it is a simple customization.&lt;/p&gt;
&lt;p&gt;Template&amp;nbsp;detail.hbs inside UrlField evaluate the attribute &amp;#39;isClickable&amp;#39;.&lt;/p&gt;
&lt;p&gt;You may need to create a custom UrlField&amp;nbsp;and override the method format accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>