Forum Widgets
Latest Discussions
Cannot find Sharepoint Online API endpoints
Hi Team, My team is working on SharePoint Online, and are not able to find APIs related to the following entities: 1. All List APIs 2. All files and folders APIs 3. All Link APIs 4. All Event APIs 5. All Page APIs. When we say 'all', we mean endpoints to create, update, get, delete and perform other operations on the above listed entities. We found a few APIs related to files and folders here - https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest It would be very helpful if you could share rest of the endpoints with us. Thank you.NiharikaNaikOct 03, 2025Copper Contributor130Views0likes2CommentsSharepoint SitePage
Using Graph API . I want to access a specific Sitepage , I need to know the Sitepageid, based on /pages it will return all Page id within the Site, Is there a way to get the Sitepage id directtly based on the Sitepage name.aspx ? I want to detect files changes on that Sitepage and be able to downlaod the files from the sitepage ? How can we do that using Graph API I know we can detect files changed at the drive level within a site. I am looking for Sitepage can we do the same ?what API can be used ?Girish_venkataramanappaOct 03, 2025Copper Contributor9Views0likes0CommentsRepository structure and CI/CD pipeline for SPFx WebParts
I am currently developing SPFx WebParts for a single SharePoint site. In our development repository, I have: A shared SPFx library Six separate WebParts, each in its own solution, organized as follows: library webparts webpart1 webpart2 webpart3 ... At the moment, on Azure DevOps, everything is managed in a single repository. To build and deploy a WebPart, I check Git for changes, build the WebPart, and then deploy it. I am considering whether, for the CI/CD pipeline, it might be more efficient to adopt a separate repository for each WebPart, allowing independent pipelines for each solution. In this scenario, I have two main questions: Is it considered a best practice to separate WebParts into distinct repositories? How should the shared SPFx library be managed in this case? I assume it would need a separate repository, but I would like guidance on the best way to integrate it with the WebParts. Thank you for your support.rosamartinamilazzo25Sep 18, 2025Copper Contributor16Views0likes0CommentsFormatted 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 https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-formatting#get-started-with-view-formatting to test anybody have any ideas?RealPaddySep 10, 2025Brass Contributor8.5KViews10likes26CommentsIssue with flat views in SharePoint Online
I use folders within a SharePoint list to organize list items. Additionally, I apply column formatting to update values in a column via button click using customRowAction (setValue). So far, so good... However, when I switch to a flat view (View without folders), this functionality no longer works, and error messages appear. This Error occures for example if I click on any displayed button. This issue occurs exclusively in the flat view and only affects items stored within folders. Additionally, there is another issue when using the Quick Edit feature to set a date field in the flat view. For items located inside a folder, the localization is incorrect. For example, if I select April 1st, SharePoint instead saves January 4th (German Localization). For items located outside a folder or when using a non-flat view, everything appears to function correctly. The attached video provides a demonstration of the issue.Jan HennemannSep 09, 2025Brass Contributor388Views13likes4CommentsGet-PnPSiteTemplate : Attempted to perform an unauthorized operation and ACS token missing
I am trying to export a design template for a site that I am in the Owners group for, and I have Share Point Administrator role activated. I am running the Powershell ISE as ADMIN When I run the following 2 powershell commands Connect-PnPOnline -Url https://MyDomain.sharepoint.com/sites/MySite/ -Interactive -ForceAuthentication Get-PnPSiteTemplate -Out C:\Folder\Design.xml It starts running and the thermometer bar, reads 'Site Security' and then fails immediately with the following error Get-PnPSiteTemplate : Attempted to perform an unauthorized operation. At line:1 char:1 + Get-PnPSiteTemplate -Out C:\Folder\Design.xml + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (:) [Get-PnPSiteTemplate], ServerUnauthorizedAccessException + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.GetSiteTemplate When I run the following 2 powershell commands Connect-PnPOnline -Url https://MyDomain.sharepoint.com/sites/MySite/ -useWebLogin Get-PnPSiteTemplate -Out C:\Folder\Design.xml The connect-pnponline command suggests I use the -Interactive flag, but it starts running, and gets further and the thermometer bar goes through 'Site Security', 'Audit', 'Fields', 'Content Types' and starts on 'List Instances' and starts to list the lists, and fails on the first one, which is called 'Confidential files' with the following error : Get-PnPSiteTemplate : GetAccessTokenAsync() called without an ACS token generator. Specify in AuthenticationManager No Output is saved Powershell is version 5.1.18362.1593 Any ideas on how to fix this, or even to get more information on what unauthorised operation is running, or how to force the ACS Token wen I am querying lists Thanks - RichardRichardSSep 05, 2025Copper Contributor38KViews1like3CommentsHaving issues with SPFx isolation build lately
Hello We have a customer using an isolation version of our product and when we built a new version last week, it stopped working with below error. Unfortunately, once we install the new build, replacing with the older ones that used to work stopped working and showing the same error. "authorize:90 Unsafe attempt to initiate navigation for frame with origin 'https://xxxx.sharepoint.com' from frame with URL 'https://login.microsoftonline.com/..........'. The frame attempting navigation of the top-level window is sandboxed, but the flag of 'allow-top-navigation' or 'allow-top-navigation-by-user-activation' is not set" We would really appreciate how to handle these errors. Thanks VijayVijaydeepSep 02, 2025Copper Contributor17Views0likes0CommentsCustom search to search pdf files in certain librarys
Hi! I have set up document system with three different document librarys. Togheter they hold about 32000 pdf documents. I have implement the custom search module on my site and created a custom search resultspage. I have redirected the search to resultspage and defined the document librarys. I have also tried to define the SharePoint result source and search terms but with no luck. I have tried many different combinations like path:https://sharepoint document url like below with no luck. The results find my document librarys, but doesnt search in them for the files. It only shows a link to the document library instead of the files. Is ther something i missing or isnt this possbile to achieve? Do I have to create a Scope? Crawl? I really dont understand those features. Please help! 🙂 {SearchBoxQuery}( (Path:http://sharepoint/sites/demo/dev/DocLib1 (FileExtension:pdf)) OR (Path:http://sharepoint/sites/demo/dev/DocLib2 (FileExtension:pdf)) OR (Path:http://sharepoint/sites/demo/dev/DocLib3(FileExtension:pdf)) )conny82Aug 28, 2025Copper Contributor1.2KViews0likes1CommentError 'Cannot get value for projected field...' when users without email were set to the field
SharePoint List Setup I have a simple list with a Person field Approvers which allows multiple selections. One of the list items has a user set to the Approvers but the said user does not have email configured. REST API used https://xxx.sharepoint.com/sites/xxx/_api/Web/Lists(guid'xxx')/items/?$filter=ID eq xxx&$select=*,Approvers%2FEMail&$expand=Approvers REST API response Error { "odata.error": { "code": "-2146232832, Microsoft.SharePoint.SPException", "message": { "lang": "en-US", "value": "Cannot get value for projected field Approvers_x005f_EMail." } } } Graph API used https://graph.microsoft.com/v1.0/sites/xxx/lists/xxx/items?$filter=startswith(fields/Title, 'xxx')&$expand=fields($select=Title,Approvers) Graph API response Success "Approvers": [ { "LookupId": 1, "LookupValue": "User A", "Email": "" }, { "LookupId": 2, "LookupValue": "User B", "Email": "" }, { "LookupId": 3, "LookupValue": "User C", "Email": "******@outlook.com" } ] Question Is there anyway we can tell the REST API to react the same way as Graph API, instead of failing, return the data as-is?IvanTiohAug 18, 2025Copper Contributor109Views0likes3Comments
Resources
Tags
- developer1,245 Topics
- PnP648 Topics
- apis490 Topics
- Extensibility253 Topics
- Responsive128 Topics
- hybrid82 Topics
- SPFx70 Topics
- SharePoint Online64 Topics
- powershell23 Topics
- SharePoint Online Office 36515 Topics