Forum Widgets
Latest Discussions
SharePoint REST: The attempted operation is prohibited because it exceeds the list view threshold
Help!!! REST API request data in SharePoint Online list. The list data more than 5k data, but the result of request don't more than 5k. SharePoint REST API return error as below: test-web-part_be28700c1e68b12fdf02398b82852235.js:1 Uncaught (in promise) Error: Error making HttpClient request in queryable [500] Internal Server Error ::> {"odata.error":{"code":"-2147024860, Microsoft.SharePoint.SPQueryThrottledException","message":{"lang":"en-US","value":"The attempted operation is prohibited because it exceeds the list view threshold."}}} at new t (test-web-part_be28700c1e68b12fdf02398b82852235.js:1) at test-web-part_be28700c1e68b12fdf02398b82852235.js:1 My Request: https://linyus.sharepoint.com/sites/DevelopSite/_api/web/lists/getByTitle('Test')/items?$top=100&$filter=ItemType eq '1' and Test eq '1' Error: Result only 1 item, but REST errorLinyu001May 15, 2025Copper Contributor20KViews0likes5CommentsSPFx WebPart fails to load on Classic Page Recently with new instance.
Adding a new SPFx WebPart to a classic publishing page in the Pages library of a SharePoint Online site results in a runtime error. Existing classic pages with SPFx WebParts still work,new instance and old instance in Modern page still work and even the same SPFx WebPart continues to function if it was already present before the issue appeared. However, adding the same WebPart as a new instance on the same page now fails systematically.fahadkhan85May 13, 2025Copper Contributor35Views0likes0CommentsSharePoint Notifications for Terminated Employee
Hello, A former member of staff set up many different SharePoint notifications before they left the company. Once they left their MS Office license was removed and their email was suspended. SharePoint continues to send out notifications to this non-working email address, which is creating cases in our CRM. How can I, as the System Admin, turn off these notifications? Thank youSolvedAmandaG1605May 11, 2025Copper Contributor157Views1like5CommentsCan’t save docx after clearing a mapped field
Hi everyone, I've got a problem on a project for one of my clients that I can't solve, so I've come to ask for your expertise ! Context SharePoint Online document library .docx files with Quick Parts mapped to library columns (Choice, Date, etc.) Flow uses “Populate a Microsoft Word template”, which only accepts .docx Issue When a user clears a mapped field and hits Save, Word blocks the upload :“Correct the invalid or missing required properties.” Tried (no fit) .docm + VBA to delete empty node → works, but Populate rejects .docm Blank Choice option → fine for Choice, fails for Date fields Question Has anyone found a parameter or a trick that allows when editing a Word with Quick Parts linked to SharePoint Online fields to be cleared without validation errors ? Thanks ! CharlesCharlesGOMay 07, 2025Copper Contributor14Views0likes0CommentsHow to read file content for a IRM Protected PDF?
I have a SharePoint Document Library with IRM Protection turned on. I need to read content of the IRM Protected PDF file at the code level (.NET API Endpoint). I am able to get the binary content of the file at the code level, but no PDF Reader is able to read the content of the IRM Protected file. Is there a work around?SiddheshDambeMay 07, 2025Copper Contributor92Views0likes2CommentsWebpart theme colors not working for border-color
I've got a strange situation were using the following works with background-color but not border-style. // works as expected - picks up the current themeLight color from the site. background-color: "[theme:themeLight, default: #c86c70]"; // doesn't work as expected - ALWAYS picks up the default color - not the themeLight color. border-color: "[theme:themeLight, default: #c86c70]"; Is any one else seeing this? Not sure if it's due to the latest version of SPFx (1.21)? If so, I'll log another bug.GrantJenkinsMay 02, 2025Copper Contributor23Views0likes0CommentsHiding Powerautomate Button on Sharepoint Site Command Bar
Hi All, Hope everyone is well today, I have a query regarding hiding a button from the command bar in Sharepoint. At the moment I have formatted the document library's current view with this JSON file as per (https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-commandbar-formatting) However I've not been able to hide the "Automate > Rules" button using the following: This was working last time I checked when I originally setup this JSON however it isn't working today! Any suggestions would be much appreciatedMatherjApr 29, 2025Copper Contributor191Views1like3CommentsSPFx Webpart - not picking up any styles
I've just upgraded to the latest version of SPFx and when I build a project using yo it all works as expected (no errors), except it doesn't apply any of the styles. I've tried creating multiple projects, and across two different computers, and still the same issue. I've also tried in the workbench and deploying the solution (package). Is anyone else seeing this issue, or anything I need to do? Note that I'm using REACT framework option in the yo setup.GrantJenkinsApr 28, 2025Copper Contributor31Views1like2CommentsPageContext listItem.id Lag After Navigation in SPFx Web Part
Hi everyone, I'm running into an issue with an SPFx web part where this.context.pageContext.listItem.id appears to lag behind after navigating between pages using the SharePoint “Pages” tab (the left-hand nav on a SharePoint site, not a full browser reload). Here’s the behavior I’m seeing: I navigate to Page 1: listItem.id shows the correct ID for Page 1 I navigate to Page 2: listItem.id still shows the ID from Page 1 I navigate to Page 3: now it shows the ID for Page 2 This continues until I perform a full page refresh, which resets things correctly. It feels like there's a one-step delay in updating pageContext, possibly due to how SharePoint handles partial page loads or client-side routing. To try to work around this, I moved my logic from onInit() to render(), but the lag still exists intermittently. Has anyone else encountered this kind of lag with pageContext? Any guidance on best practices for detecting the current page reliably in SPFx when navigating within the SharePoint UI? Appreciate any insight — happy to share more details if helpful. Thanks!acho9Apr 22, 2025Copper Contributor43Views1like2CommentsEvent Listeners Not Working After Translating SharePoint Page with SPFx Extension
Hello everyone, I'm developing a SharePoint Framework (SPFx) extension to translate SharePoint pages using a language viewer API. The extension includes a dropdown menu for language selection, and it successfully translates the page content based on the selected language. However, after the translation, all event listeners attached to elements on the page, such as the "Add New" functionality of the out-of-the-box (OOTB) list web part, stop working. Here are the steps I've taken so far: Reattached event listeners after applying translations. Despite these efforts, the issue persists. Has anyone encountered similar problems or have any suggestions on how to resolve this? Any insights or solutions would be greatly appreciated! Thank you in advance for your help!VarshaTiwariApr 19, 2025Copper Contributor48Views0likes1Comment
Resources
Tags
- developer1,232 Topics
- PnP646 Topics
- apis483 Topics
- Extensibility251 Topics
- Responsive128 Topics
- hybrid81 Topics
- SPFx70 Topics
- SharePoint Online64 Topics
- powershell23 Topics
- SharePoint Online Office 36515 Topics