{"id":8412,"date":"2014-08-02T10:01:02","date_gmt":"2014-08-02T10:01:02","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=8412"},"modified":"2014-08-02T10:01:02","modified_gmt":"2014-08-02T10:01:02","slug":"changing-link-text-of-url-fields","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/","title":{"rendered":"Changing Link text of URL fields"},"content":{"rendered":"<p>Sage CRM allows to create different types of fields as per the requirement e.g. Text, Date, Search Select Advance, Selection etc. But sometimes to capture complex requirements we need to twist the appearance of fields on screen.<br \/>\n<span style=\"color: #993300;\"><em><strong>New Stuff:<\/strong><\/em><\/span> <a title=\"Where to search for Sage CRM Configuration components \" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/31\/where-to-search-for-sage-crm-configuration-components\/\" target=\"_blank\">Where to search for Sage CRM Configuration components <\/a><br \/>\nOne such field type is \u201cWWW URL\u201d.\u00a0\u00a0 If you go through the Company Summary Screen then, you will see field named \u201cWeb Site\u201d. This field is of type \u201cWWW URL\u201d. Based on this type hyperlink is displayed on field content in view mode.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\" target=\"_blank\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-8413 size-full\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\" alt=\"Image1\" width=\"769\" height=\"235\" \/><\/a><br \/>\nSometimes the url\u2019s might be very long and they may not look better on screen. So can I just add some text by clicking which URL opens? Yes, you can do that. Just copy and paste below script in custom content of Company screen.<br \/>\n&lt;script language=&#8217;javascript&#8217;&gt;<br \/>\n$(document).ready(function(){<br \/>\nvar sLinkText=&#8221;&#8221;;<br \/>\nsLinkText=&#8221;Click Here to Open Website&#8221;<br \/>\n\/\/Set element text<br \/>\nif(sLinkText!=&#8221;&#8221;)<br \/>\n{<br \/>\nif($(&#8220;#_Datacomp_website a&#8221;))<br \/>\n$(&#8220;#_Datacomp_website a&#8221;).html(sLinkText);<br \/>\n}<br \/>\n});<br \/>\n&lt;\/script&gt;<br \/>\nAfter implementing above mentioned change you will see below given change in Screen.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image2.jpg\" target=\"_blank\"><img decoding=\"async\" class=\"aligncenter wp-image-8414 size-full\" src=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image2.jpg\" alt=\"Image2\" width=\"764\" height=\"243\" \/><\/a><br \/>\n<span style=\"color: #993300;\"><em><strong>Also Read:<\/strong><\/em><\/span><br \/>\n1) <a title=\"Email Order from Web Order Entry screen\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/31\/email-order-from-web-order-entry-screen\/\" target=\"_blank\">Email Order from Web Order Entry screen<\/a><br \/>\n2) <a title=\"GUMU integration loads all type of pricing on real time basis\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/30\/gumu-integration-loads-all-type-of-pricing-on-real-time-basis\/\" target=\"_blank\">GUMU integration loads all type of pricing on real time basis<\/a><br \/>\n3) <a title=\"GUMU for Sage CRM \u2013 Sage 100 ERP integration video tutorials\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/30\/gumu-for-sage-crm-sage-100-erp-integration-video-tutorials\/\" target=\"_blank\">GUMU for Sage CRM \u2013 Sage 100 ERP integration video tutorials<\/a><br \/>\n4) <a title=\"Steps to Import Sage ERP X3 Customers in Sage CRM\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/30\/steps-to-import-sage-erp-x3-customers-in-sage-crm\/\" target=\"_blank\">Steps to Import Sage ERP X3 Customers in Sage CRM<\/a><br \/>\n5) <a title=\"Workflow Tip to set Document Type and Category\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/07\/30\/workflow-tip-to-set-document-type-and-category\/\" target=\"_blank\">Workflow Tip to set Document Type and Category<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sage CRM allows to create different types of fields as per the requirement e.g. Text, Date, Search Select Advance, Selection etc. But sometimes to capture complex requirements we need to twist the appearance of fields on screen. New Stuff: Where to search for Sage CRM Configuration components One such field type is \u201cWWW URL\u201d.\u00a0\u00a0 If\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[155,200,202,332,351,352,1],"tags":[683,1138,1471,1475,2231,2616],"class_list":["post-8412","post","type-post","status-publish","format-standard","hentry","category-fields","category-javascript-sage-crm","category-jquey","category-sage-crm","category-screen-sage-crm","category-script","category-uncategorized","tag-client-script","tag-field","tag-javascript","tag-jquery","tag-screen","tag-www-url"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"Sage CRM allows to create different types of fields as per the requirement e.g. Text, Date, Search Select Advance, Selection etc. But sometimes to capture complex requirements we need to twist the appearance of fields on screen. New Stuff: Where to search for Sage CRM Configuration components One such field type is \u201cWWW URL\u201d.\u00a0\u00a0 If\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2014-08-02T10:01:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\",\"name\":\"Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\",\"datePublished\":\"2014-08-02T10:01:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage\",\"url\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\",\"contentUrl\":\"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Changing Link text of URL fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/","og_locale":"en_US","og_type":"article","og_title":"Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components","og_description":"Sage CRM allows to create different types of fields as per the requirement e.g. Text, Date, Search Select Advance, Selection etc. But sometimes to capture complex requirements we need to twist the appearance of fields on screen. New Stuff: Where to search for Sage CRM Configuration components One such field type is \u201cWWW URL\u201d.\u00a0\u00a0 If\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2014-08-02T10:01:02+00:00","og_image":[{"url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg","type":"","width":"","height":""}],"author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/","name":"Changing Link text of URL fields - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage"},"image":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage"},"thumbnailUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg","datePublished":"2014-08-02T10:01:02+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#primaryimage","url":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg","contentUrl":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-content\/uploads\/2014\/08\/Image1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2014\/08\/02\/changing-link-text-of-url-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"Changing Link text of URL fields"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/8412","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=8412"}],"version-history":[{"count":0,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/8412\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=8412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=8412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=8412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}