Forum Discussion
J0-M_95
Feb 15, 2024Copper Contributor
Help Needed
Hi, New here, need help but not sure it can even be achieved... Short and to the point: I use a Sharepoint site at work to keep our small engineering team up to date with everything related to our...
Rob_Elliott
Feb 16, 2024Silver Contributor
By syncing to OneDrive and keeping the files on your device this should be do-able. See https://answers.microsoft.com/en-us/msoffice/forum/all/using-sharepoint-offline/02fa70ed-182b-4f50-b39e-5dc0c211ce3b
You could also download the pages and document libraries from the site by adding a single line of text column to each library and adding the following JSON column formatting:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "button",
"style": {
"border-radius": "5px",
"margin": "5px 0px",
"padding": "0px",
"visibility": "=if([$File_x0020_Type] == '', 'hidden', 'visible')"
},
"attributes": {
"class": "ms-bgColor-themePrimary"
},
"children": [
{
"elmType": "a",
"txtContent": "Download",
"style": {
"text-decoration": "none",
"padding": "10px 0px",
"width": "100%"
},
"attributes": {
"href": "= @currentWeb + '/_layouts/15/download.aspx?UniqueId=' + [$UniqueId]",
"target": "_blank",
"class": "ms-fontColor-white"
}
}
]
}
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Principal Consultant, SharePoint and Power Platform WSP Global (and classic 1967 Morris Traveller driver)