Sites
2594 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?9Views0likes0CommentsSharepoint site's customized column become 'Read-Only'
We have a SharePoint Intranet that has been in active use for 14+ months. I have a customized column Expiration Date for News Expiry. Recently, all custom columns added to Site Pages (Page Details) or News pages have become read-only immediately after clicking Save. Key points: - Issue occurs for ALL column types (Date, Date & Time, Text, etc.) - Fields are editable for the first time. - As soon as Save is clicked and page or news came to draft status and the field become read-only. - Happens for both Draft and Published pages. - Editing in Site Pages library Grid view still works. - This behavior started recently without any configuration changes. Has anyone else experienced this?11Views0likes0CommentsMultilangual sites - how to link pages as an language version
Hello everyone, before the introduction of multilingualism in SharePoint we started to build 2 independent site collections to represent two languages. With the multilingualism these are to be integrated now to a common Site. In the page properties I could not yet find a property that links the page of the default language with the respective translation page. Is it also possible to copy existing pages into a page library and then assign them manually as language variants of a site?3.2KViews0likes3CommentsCustomizing Search Result Display for .eml files at Site Collection level
Hi everyone, I’ve noticed a specific behavior regarding how SharePoint handles search results for .eml files and I am looking for a way to optimize this. Observation: Following a migration of emails into a SharePoint Site Collection, the search results currently display the Filename as the primary heading. Since these filenames are GUIDs, they provide no context to the users. The Title property (which contains the actual email subject) is available but is not being used as the main display value in the search results. Goal: The objective is to change the search result display so that the Title/Subject is shown instead of the Filename, making the results meaningful for the end-users. Current Constraints: Permissions: Access is limited to Site Collection Administrator (no Tenant Admin access). Environment: Must remain Out-Of-The-Box. PnP Modern Search or other third-party web parts cannot be deployed in this environment. Scope: Changes need to be implemented at the Site Collection level, as tenant-wide search schema modifications are currently not an option. Technical Question: Is there a way to influence the result display logic or the mapping of Managed Properties specifically within the Site Search Schema to achieve this? I am looking for guidance on whether this can be solved through site-level configuration or if there are other OOTB workarounds to prioritize the Title property in the search UI. Any insights or documentation on how to approach this at the site level would be greatly appreciated.79Views1like2CommentsMy 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.Solved291Views0likes4CommentsBest Practice guide for stretched HA farm?
Hi, Im planning a SharePoint Subscription farm over 2 data centers. Should be pretty simple. Farm will consist of: dc 1: 1 spfe, 1 spapp, 1 sql dc 2: 1 spfe, 1 spapp, 1 sql Sql servers will be AlwaysOn. Im not sure how to set up the sp servers. Is there a preferred way to set it up, with how to? Our domains have 10gb connections so should be more than sufficient for stretched and HA. Can CA site be hosted from multiple servers? How are IPs/DNS/certs handled? What else do I need to get my head around? Thanks. Swan19Views0likes0CommentsIs it possible to disconnect a site from an O365 group?
I'm interested in keeping a site collection that is connected to an Office 365 group, but I want to delete the group and "disconnect" it from the site (basically the opposite of what is possible when you "groupify" a team site). Does anyone know if this is a PowerShell command?40KViews0likes12Comments