Formatting
4 TopicsClickable Button on Gallery View Document Library
Hello, I have a document library where social media assets are stored. I would like to create a gallery view of the document library that displays a "Download" button, so when the user selects, the file is automatically downloaded to their device. I have figured out how to add the Download button, which works perfectly in the List view. When you switch to gallery view, the button does not display, but I was able to get the button to show up by adding "columnFormatterReference": "[$Download]" to the Format view JSON. However, when the user clicks on the Download button from the gallery view, the file opens. I removed the following JSON code, so the file does not open in a new tab: "customRowAction": { "action": "defaultClick" Now I just need to figure out how to make the "Download" button clickable. Any help would be greatly appreciated. I'm brand-new to JSON and coding in general.Solved4.2KViews0likes9CommentsList Form - Conditional formatting when not in the view
Hi, I have a List in SharePoint with a large number of choice fields that all have formatted styles. There are also two different views, one showing limited fields and one showing them all. When opening the form to create or view an item in the list the formatting for the “pills” is shown, but only if that field is available in the list view itself. If the column is hidden from the underlying view then no styling is displayed. Is there a way to always show the styling, irrespective of the view? ThanksSolved1.4KViews0likes1CommentFormatted view - hideColumnHeader not working in list webpart
I have a list webpart on a modern site which has a view formatted with some JSON The list column header displays even though the property hideColumnHeader is set to true (this just started happening - was fine before) It is OK on the list page -AllItems.aspx but on webpart page list column header displays I am using example here to test anybody have any ideas?8.2KViews10likes25CommentsFormat a Choice Column so it presents the items on individual lines rather than wrapping them?
Hi, I've had a good troll of the internet but I can't find an answer to my question, this kind of makes me think it's not possible, but considering how customisable SPO is now I find that hard to believe. I have a choice column that is configured to allow users to select more than one item. When this column is displayed on the list the items are separated by a comma and they are all wrapped. What I'd like to do is put a line break between each item so they are easy to read at a glance, what would be really good would be to bullet them but I'd be happy with separate lines. :) Does anyone have any thoughts on how I could achieve this? Thanks in advance Rob1.1KViews0likes0Comments