Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Modify URL formatted field's display text

Posted on by 55

I'm trying to modify the URL formatted field within a grid to be a more user friendly look and feel. 

I have two approaches I am attempting:

First Approach:

1. Add an icon within the URL column. (already implemented)

2.  Make the icon clickable and redirect user to URL.  < is this possible? >

3.  Remove URL from grid column (display no text to user for said field, only show clickable icon).  < is this possible? >

Second Approach:

1.  Change displayed text within grid column to user friendly text.

I would love to get the first approach implemented but will settle with second approach (as displaying the full URL is NOT a possibility).

*This post is locked for comments

  • mcutchins Profile Picture
    mcutchins 55 on at
    RE: Modify URL formatted field's display text

    //display icon and tooltip for the grid column (userLCID is handled automatically)

    function DisplayGridIcon(rowData, userLCID) {  

     // var str = JSON.parse(rowData);

      //field name is lowercase, with a capital V in value

      //var coldata = str.plus_projecthealth_Value;  

      var imgName = "";  

      var tooltip = "";  

          imgName = "xxx_pdfIcon";  // web resource name

          tooltip = "View File";   // appears on hover

      var resultarray = [imgName, tooltip];  

      return resultarray;  

    }

  • Martin Donnelly Profile Picture
    Martin Donnelly 1,010 on at
    RE: Modify URL formatted field's display text

    Would like to see how you added an icon to a Single Line of Text field (have never used the URL format) but, no, such functionality would require you go beyond the out-of-the-box and create your own web resources.  In any supported fashion, that is.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans