0

I am working with library catalog items that may have 2 different URLs for each item. I have two plain text columns, each containing one of the URLs.

I have two additional columns I am formatting as hyperlinks based of the URL text columns. I am using the same code (with different column names) for each field formatted as a URL. One link column works, the other does not.

This is a screenshot of the list with all four fields displayed. You can see the text URL fields and fields formatted as URL (one working, one not). I do not believe it is related to the URL syntax - I have tried pasting the same URL in both fields, but get the same results (one working, one not).

enter image description here

This is the code from the column that works:

enter image description here

This is the code from the column that does not work:

enter image description here

Column type is the same. (The formatted link field needs to be a number for some odd reason.)

enter image description here

Can anyone help me figure out why?

Ganesh Sanap
  • 1,386
  • 1
  • 8
  • 18
A.Powell
  • 1
  • 1

1 Answers1

0

1 - Did you check their internal names ? In the list settings, you may click on each field and on their respective pages, in the URL at the end, you will find their Internal Name. You may find there that the one not working has a slightly different name ?

2 - Have you tried opening your navigator developer tools (F12) while editing/saving your JSON schema to see if there's a JavaScript error ?

3 - Have you tried on a third test column ?

Gostron
  • 255
  • 2
  • 6
  • Thank you! It was the internal name. – A.Powell Mar 27 '23 at 15:20
  • Mark it as answered please, so everyone knows your issue is resolved – Gostron Mar 28 '23 at 07:39
  • For future reference: you can get the internal name of your SharePoint columns by following this article: [How to find the Internal name of columns in SharePoint Online?](https://ganeshsanapblogs.wordpress.com/2023/04/17/how-to-find-the-internal-name-of-sharepoint-columns/) – Ganesh Sanap Jun 16 '23 at 06:37