Skip to main content

Questions tagged [json-formatting]

You can use JSON formatting to customize how fields in SharePoint lists and libraries are displayed. To do this, you construct a JSON object that describes the elements that are displayed when a field is included in a list view, and the styles to be applied to those elements.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

This should be simple but isn't: I am pulling info from a list into another through a lookup column. I am bringing in several additional fields. The list is populating as expected. However, when I try ...
Robert de Graaff's user avatar
0 votes
0 answers
17 views

In the list, on the SharePoint website, the creation date information disappeared and only one remained. (printscreen) I don't know why this happened, but it could be easily fixed by changing the ...
Michal Rama's user avatar
0 votes
0 answers
23 views

How do I remove the blank space where the free text heading goes at the top of my list? I've applied JSON accordion style formatting to create an accordion style list and to remove the column headings ...
sarah's user avatar
  • 1
0 votes
1 answer
56 views

I need help with creating a JSON structure for formatting a custom "single line of text" column in my SharePoint document library. The column, called "Start Document Workflow," ...
user131264's user avatar
0 votes
1 answer
88 views

This problem is very similar to this one, except it's not displaying icons and I'm using different JSON code. Using SharePoint Online, I have a list I use specifically to display customised buttons ...
Monomeeth's user avatar
  • 264
0 votes
1 answer
46 views

I have a list column called "Item number" created automatically when item is created. It is created in sequence like 1, 2,.... till 999 I need a JSON to show only three digits of this item ...
Venkat Vedavyasan's user avatar
1 vote
1 answer
68 views

In SharePoint Online I've created a list and applied JSON formatting to a particular view. This formatting essentially displays the items as buttons. I then created multiple views and applied the same ...
Monomeeth's user avatar
  • 264
0 votes
0 answers
22 views

My multiline field is not displaying with my JSON code in SharePoint My code is below: [$test] is the multiline field: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/...
CuriousGeorge's user avatar
0 votes
0 answers
32 views

I have added a Sharepoint list to the List Webpart. you see there is a line. How can i remove it with JSON: Also when i hover over de row it gets another color. How can make it stay the color white? ...
Peter Kiers's user avatar
0 votes
1 answer
29 views

I have three columns with the following InternalNames: Before, Between, and After. The corresponding column names are 00:00 - 07:59, 08:00 - 15:59, and 16:00 - 23:59. How can I modify the code below ...
Peter Kiers's user avatar
0 votes
1 answer
37 views

I have a SharePoint list with 5 columns. One is called "Opmerkingen". What I would like is that when a user enters text in that column it shows an icon "comment"instead of the text....
Peter Kiers's user avatar
1 vote
0 answers
34 views

I have a SharePoint list with a customized header, and the header is fixed when scrolling. One of the columns in my list is a date column, and the filter of my list is set to display the row with ...
Peter Kiers's user avatar
0 votes
1 answer
124 views

I have a SharePoint list with a custom header made in JSON-code. I got this code from the github. The code hides the actually header with: "hideColumnHeader is true" and makes a header of ...
Peter Kiers's user avatar
1 vote
2 answers
847 views

I am trying to create conditional formatting for a Microsoft list to highlight the row in light blue and bold. I need the date to relative to today and then have the condition be based on a 45-day lag ...
John's user avatar
  • 11
0 votes
1 answer
81 views

I have a SharePoint list which has 5 columns. My problem is that my data is not aligned with the columns. What do I have to changed so that my data is aligned with their columns: { "$schema&...
Peter Kiers's user avatar
1 vote
1 answer
127 views

I have a list where I group rows and use aggregate() to count specific columns. The issue I'm facing is that the resulting column names all show as "Total Value," which makes it difficult to ...
SKAI_G's user avatar
  • 13
1 vote
1 answer
178 views

Is it possible to change the column Title with JSON? In the column Title a message-icon is displayed when a user has added a comment. I would like to hide the 3 dots and make the icon aligned to the ...
Peter Kiers's user avatar
0 votes
1 answer
68 views

Is it possible to Show link to document in SharePoint if file_x0020_type is PDF and add a link to open file in native PDF using JSON formatting? Happy News Year and thanks in advance.
naijacoder's user avatar
  • 4,368
0 votes
2 answers
128 views

I'm trying to centre the data in my SharePoint List's currency columns (Unit Price, Origination and Delivery Cost). I found an answer that supplied some JSON code to add, which worked but changed my ...
Kaylee Biddle's user avatar
0 votes
0 answers
123 views

We would like to adjust the height of each card dynamically to the content of each card (see screenshot below). I already tried with "height": "auto", but the cards overlaps after ...
Tyler Durden's user avatar
0 votes
1 answer
156 views

I have a grouped list with 2 columns "Question and "Answer". The list is formatted using the following JSON to format the view. Based on a PNP view formatting sample { "$schema&...
Bobney's user avatar
  • 113
2 votes
0 answers
114 views

I have tried using the JSON code to hide the "Automate" button from SharePoint list but it has no effect. It works on all other buttons except "Automate". Can some please help?
saikumar 's user avatar
1 vote
0 answers
80 views

My gallery views that are JSON formatted are all of a sudden not displaying correctly, although nothing has changed and the views have not been edited. I can create a new Gallery view, but the JSON is ...
CariE1121's user avatar
2 votes
1 answer
92 views

I'm fairly new to SharePoint JSON. I have a simple JSON to change the value of a column based on the value of another column: { "$schema": "https://developer.microsoft.com/json-...
AvantGuerre's user avatar
0 votes
1 answer
382 views

I have a SharePoint list that tracks client names. Each client has a specific ID. If there is a duplicate ID entry, I would like the cells to turn a certain color, is this possible?
Frandy Osias's user avatar

1
2 3 4 5
16