You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set my trust to this community since I haven't been able to find the answer on my own.
I have a list (called Tools) on a large number of sites where I have a view called "Tools" which is customized with JSON.
At the moment the view is using the "List" layout as per default for this view, "Tools".
Now I have changed the views default layout to "Gallery", because my new JSON code is developed for that.
I thought when applying my new JSON it would be added to the "Gallery" layout since it's now the default layout, but it's added to the "LIST" layout instead.
Q: How can I chose to add my JSON to the "Gallery" layout of my view "Tools"?
This is what I have been using this far.
Set-PnPView -List Tools -Identity Tools -Values @{"ViewType2" = "TILES"}
Set-PnPView -List Tools -Identity Tools -Values @{CustomFormatter="$json"}
I really hope you get what I mean, been trying to be as clear as I possibly can :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I set my trust to this community since I haven't been able to find the answer on my own.
I have a list (called Tools) on a large number of sites where I have a view called "Tools" which is customized with JSON.
At the moment the view is using the "List" layout as per default for this view, "Tools".
Now I have changed the views default layout to "Gallery", because my new JSON code is developed for that.
I thought when applying my new JSON it would be added to the "Gallery" layout since it's now the default layout, but it's added to the "LIST" layout instead.
This is the schema I am using:
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/tile-formatting.schema.json"
and Gallery is the layout where this JSON is added.
Q: How can I chose to add my JSON to the "Gallery" layout of my view "Tools"?
This is what I have been using this far.
Set-PnPView -List Tools -Identity Tools -Values @{"ViewType2" = "TILES"}
Set-PnPView -List Tools -Identity Tools -Values @{CustomFormatter="$json"}
I really hope you get what I mean, been trying to be as clear as I possibly can :)
Regards,
/Nicklas
Beta Was this translation helpful? Give feedback.
All reactions