Forum Discussion

hungatebevis's avatar
hungatebevis
Copper Contributor
Apr 19, 2020

Preview URL on hover in Sharepoint list

I have a column in a Sharepoint list which contains a UPS tracking link e.g. 

http://wwwapps.ups.com/WebTracking/track?track=yes&trackNums=1Z1527A06890731426

 

I would like give users the ability to hover over the link and view the package's progress.  Is this possible, perhaps by using JSON formatting? 

 

Many thanks,

Bevis 

 

 

6 Replies

  • RobElliott's avatar
    RobElliott
    Silver Contributor

    hungatebevis have a look at https://github.com/SharePoint/sp-dev-list-formatting/tree/master/view-samples/custom-hover-cards as it seems to do what you want.

     

     

    Rob
    Los Gallardos
    Microsoft Power Automate Community Super User

    • hungatebevis's avatar
      hungatebevis
      Copper Contributor

      RobElliott 

       

      Thanks for your reply.  I'm new to JSON and I'm really struggling to tailor this code for my use.  If my field is called "Label tracking", would you be able to point to the right line(s) to change?   

      • RobElliott's avatar
        RobElliott
        Silver Contributor

        hungatebevis  the author seems to have included a lot of stuff in the JSON code that wasn't mentioned in the text, for example a button to trigger a flow, links out to Bing and an email address and he's included a status code but there's no indication of where that's set.  And there are columns that weren't mentioned as well.  I'll try to amend it so that only the code you need is there but I can't guarantee any success.

         

        Rob
        Los Gallardos
        Microsoft Power Automate Community Super User

Resources