Questions tagged [view-formatting]
View formatting is sued to customise how views in SharePoint lists and libraries are displayed.
14
questions
3
votes
1
answer
7k
views
SharePoint Online list - format group headers to remove column name
I have a SharePoint Online list that contains employee documents for each of our staff members.
I keep it grouped by employee name which is great, but the word 'Employee:' before each name is really ...
1
vote
1
answer
3k
views
Change column name in view using json view formatting
I have a view in SharePoint online where I need to override column name with a custom value.
Is it possible to do this using JSON View Formatting?
Ref:
https://docs.microsoft.com/en-us/sharepoint/dev/...
2
votes
1
answer
8k
views
Change the width of a card in Gallery view of a List
I've been been thinking of migrating our existing FAQ from a wiki to a List in SharePoint Online. Changing the view to a Gallery looks promising:
But is there a simple way to make the cards wider?
1
vote
3
answers
2k
views
Access information in hidden columns with JSON formatting
I am trying to format a document library in our SharePoint Online platform.
The goal is to have a row with a video thumbnail, title and short description. The title is not the same as the video file ...
3
votes
3
answers
1k
views
Is it possible to add JSON code to hide and show other rows based on column value?
I am using view formatting with JSON and wondering if its possible to add
button that can sort, hide and show other rows based on their column value, like only show items in toys department store and ...
2
votes
1
answer
2k
views
How to add an image to a column based on the value of another column (and have it show correctly in Gallery view)?
Desired Behavior:
Display an image in the column My Image based on the value in the column Model.
My Image is type Picture (I also tried making it type Image but got the same outcome).
Model is type ...
2
votes
2
answers
3k
views
SharePoint format groupby over full width (group props headerformatter json)
I have a SharePoint Online list with a groupby in the status field. Now I want to change the whole background of the groupby so that the status row has a different color.
I have already applied JSON ...
2
votes
1
answer
4k
views
How to make Tile clickable using JSON
I have the following JSON on my SharePoint (added via Format View for Tiles):
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/view-formatting.schema.json",
"hideSelection": true,
"...
1
vote
1
answer
1k
views
SharePoint Online list - remove column name from grouped view
I'm trying to remove column names from the grouped list. I followed the instructions given here: SharePoint Online list - format group headers to remove column name but I seem to have another issue.
I ...
1
vote
2
answers
4k
views
Custom view rowformatter - how to make a hyperlink look like a button
I have a list with a hyperlink field. I want to format the link to look like a button. I have tried a gazillion websites, gotten all kinds of CSS, but none of it seems to work.
I've tried two ...
0
votes
4
answers
823
views
List formatting, column not loaded
Question:
How can I enforce to load a column with data without it being seen as a separate column?
Problem:
I have two columns, title and summary. Now I would like to display only title in list view ...
0
votes
1
answer
1k
views
JSON to format SharePoint List items under a Header
I have formatted a list to look like the one below. I would like to wrap them in a DIV so i can have a header above them named "Useful Tools" or something. I can't seem to get a header above ...
0
votes
2
answers
4k
views
Row formatting based on a LOOKUP column value in modern SharePoint List
Modern experience SharePoint List A has a LookUpColumn that retrieves values from NumberColumn in ListB. I need conditional formatting that applies a color across an entire row based on a value in the ...
0
votes
1
answer
7k
views
Format List View: JSON background colours 'ms-bgColor2' property - very few colours available
I'm attempting to change the colour of the bg-Color property. By standard on my list the colour is set to white. I'd like to change it to a different colour, but there are very few available to me. ...