skip to Main Content

SharePoint List: Masonry(products) View

[o365_sp_view siteID="dwsnow.sharepoint.com,87fb8dbb-4dd8-42e6-8ab9-8bf82b1319f5,4d9359e7-3ffc-4e62-8743-be09b42b9059" listid="9be4c608-8e6e-481a-b9ce-0f4e8d54251f" template="masonry_tpl.php" id="temp1" maxresults="10" pagination="yes" columns="Title,_height,_length,_price,_regular_price,_sale_price,_stock,Image,Description,ID,Woo_Taxonomy,_sku"  userbinding="no" sort="ID" ]

Shortcode perameters:

siteID: Site id for the site
listid: List Id for the list data
template: Template name
id: Unique identifier for the
maxresult: Number of recorded
pagination: Yes/No
columns: Column name to show in the template
userbinding: Yes/No
sort: Column name for the sort

How to get Site and List ID

User Microsoft Graph Explorer (https://developer.microsoft.com/en-us/graph/graph-explorer#) to get the site and DriveID

Get all sites

https://graph.microsoft.com/v1.0/sites?search=*

Get ListID based on SiteId

https://graph.microsoft.com/v1.0/sites/{site-id}/lists/ (Replace {site-id} with your desired site id that grabbed from previous results)



Back To Top