microsoft365
242 TopicsPnP Search Results Handlebars template saves but does not reflect on UI
Hi everyone, I am working with the PnP Search Results web part in SharePoint Online and facing an issue where a custom Handlebars result template saves successfully but does not reflect on the UI. I created a table-style Handlebars template with columns Document, Region, Country, Language, Status and Validation Date, one row per document. Documents are returned correctly and filters based on the same refinable properties work as expected. Debug output using JSONstringify(item) confirms that all refinable values are present. The same if-condition logic using item.RefinableStringXX works in a list-style layout, but in a table layout the template saves without errors and either does not reflect on the UI or renders rows with empty metadata columns. Inline bindings do not render unless wrapped in if blocks and even after fixing this the UI sometimes continues to show the previous layout. Managed property mappings, selected properties, indexing and library reindexing have already been verified. Has anyone experienced this behavior with PnP Search Results templates or knows if this is related to caching, result types overriding templates or a known limitation with table-style Handlebars layouts?10Views0likes0CommentsCan a Library hierarchy be limited to just 2 or 3 layers?
With SharePoint, our users aren't happy yet with a metadata architecture and demand their folders. Management doesn't want 10+ layers of folders. Users aren't convinced using Views with 2 groups. Is it then possible to have a limit on the number of layers in a folder hierarchy, to have a hybrid approach with only 2 layers or less? The end-result might allow the users to configure their folders: Documents library Folder 1 Folder 1.1 File 1.1.1.txt Folder 1.2 File 1.2.1.txt Folder 1.3 File 1.3.1.txt But the user wouldn't be permitted to create subfolders below that. I am not sure if it's possible to have a Layer 1 Document Set, and a Layer 2 document set, but with no further layers possible by the user.Solved68Views1like1CommentDefault - "Open Read Only" for Office Files
Looking for a way to set the default behaviour to "open read only" for office files stored in SharePoint I know that you can set this per document (https://support.microsoft.com/en-au/office/make-a-document-read-only-in-word-5c25909c-46d9-4eb0-9d1f-d072a560e340) but we want that to be the default behaviour for all documents stored in SharePoint. is this possible ???75Views0likes2CommentsInvalidRequest Error for Attachments in Personal Microsoft Lists
Hello Community, I’m experiencing a persistent issue with Microsoft Lists (personal account, accessed via web on Windows 11 using Microsoft Edge). Problem: All attachments in my personal Lists return the following error when clicked: {"error":{"code":"invalidRequest","message":"Invalid request"}} This happens for both my oldest and recently uploaded attachments. This does NOT happen to NEW list items as of today and onwards I verified that attachments were successfully uploaded at the time, but now none are accessible. Age of my uploads stretch from 2023 to this time Environment: Windows 11 (fully updated) Microsoft Edge (latest version) Lists accessed via web (not the app) Personal Microsoft account (not work/school) No recent migration, rename, or permissions changes. Steps Tried: Renamed the list (removed special character “ø” from the name). Uploaded new attachments Checked that both my sub-items are inaccessible (attachment and personal attachment fields used separately from item to item. No double uploads) Checked OneDrive and Recycle Bin — no attachments visible. No access to “Site contents” since this is a personal account. Questions: Is this a known issue with personal Lists attachments? Are attachments stored in a hidden folder in OneDrive/SharePoint for personal accounts? If so, what is the usual path? Is there any way to recover these attachments or fix the invalidRequest error? Impact: I used Lists to manage and store receipts, and now all attachments appear broken. This is critical for my workflow. Any guidance or escalation would be greatly appreciated!30Views0likes0CommentsOpen Files from SharePoint in "Protected" mode by default
Many users have complained about "auto save" as people open a file and start working on it immediately, not realising their changes are being saved. I know that you can use protection in Office, if the author sets it. This is a good option forcing people to "think" before editing My Question Is it possible to set this as the default either for all documents in a specific library and/or for specific users67Views1like1CommentSharepoint deleting data and sites
Hello, We have noticed an issue that started about a year ago in which data is being deleted in Sharepoint. When looking at this data in the Recycle bin, it will show it was modified/deleted by specific Users but these user deny ever doing such a thing. It is at the point in which we believe the Sharepoint system itself is actually deleting data possibly due to a bug. It would be odd for the employees tagged in the Modified By field to have deleted it. Our data is backed up so recovering any deleted items isn't the issue. The issue is that we are trying to get Microsoft to investigate. We have submitted tickets through the MS 365 portal but they state they only work on break/fix issues. Any recommendations? I can see searching the internet this issue has come up for many others in the past.58Views1like1CommentMy Content Type instances have duplicate Document IDs (dlcdocid).
Hi, I have a Documents library with Content Types enabled, and with the Document ID service enabled. However new documents do not have a unique ID, but all get assigned the same ID as the content type template. The setup I enabled Document ID service via the Site Collection Features: https://<domain>.sharepoint.com/sites/<sitename>/_layouts/15/ManageFeatures.aspx?Scope=Site I enabled and configured content types. I created a Word template in the SharePoint library, and used Insert > Quick Parts > Document Property to create form fields sync'd with the Library/content type columns (Description, Project, Status). I downloaded the Word template from the same library into my OneDrive sync'd location, and uploaded it to the site collection's Content Types https://<domain>.sharepoint.com/_layouts/15/online/AdminHome.aspx?modern=true#/contentTypes and sync'd to the site content types. I created documents in the library using the "New" menu. Later I ask the user or reviewer to update the document frontsheet with the dlcdocid (Insert > Quick Parts > Document ID value, or Insert > Quick Parts > Field... > DocProperty > _dlc_DocId) as well as the SharePoint Version using the policy label method (https://learn.microsoft.com/en-us/answers/questions/5146555/sharepoint-label-to-embed-version-in-word-doc-havi) via Insert > Quick Parts > Document Property > Label. The Problem In the Documents library, new Word files are being re-assigned the original dlcdocid of the template (say DOCUMENT-0123456789-5). Now the "unique" URL shows me a list of multiple files all with DOCUMENT-0123456789-5. This is a read-only field so I cannot edit or delete the IDs. I want to have a Content Type template, with the frontsheet/header/footer fields sync'd with the Library columns, but I also want each document to have a unique ID and version. Help requested Is there a way to fix the template to clear the template ID, and to avoid this issue on future templates? How should I replace the template? Is uploading Template copies to the Content Type bad? Should I instead point to the file URL? Does it matter where the Template file is stored? Are there any ways to reset the ID of the few existing documents with the duplicate value?104Views1like1CommentHow is the SharePoint Online file path length counted?
I'm struggling to figure out how to calculate the path length of a file in SharePoint. I understand that the maximum is 400 characters. However, I'm not sure what goes toward that number, or whether characters are encoded or decoded.Solved294Views0likes4CommentsIssue where SharePoint users see an old unsynchronised Word file
The issue is that users open a Word document from a shared library into the desktop app, only to find that: There's no Autosave feature enabled in the top-right. The document version label we add on the frontsheet shows a very old minor version. I believe also that the file is read-only, and the only option they see is to save a local copy and upload it back to the library; which is not good practice since it's an old version. They report that the issue is resolved after exiting OneDrive, and deleting a Local cache folder. Has anyone experienced this issue and know what to try?142Views1like4Comments- 109Views0likes1Comment