Forum Widgets
Latest Discussions
workbench.aspx break when clicking "Preview"
On every web part I develop, running in /_layouts/15/workbench.aspx of all tenants I have access to, clicking the preview to debug, causes an error: "Uncaught Error Error: The value for "domElement" must not be null at e.isNotNullOrUndefined (res-1.cdn.office.net/files/sp-client/sp-webpart-workbench-assembly_en-us_a25d16d016d17db18ed91fbf7b537caf.js:20:183787" I see it was reported in https://stackoverflow.com/ but no explanation or solution. Please fix our workbench! Lots of SPFx developers are stock now. Thank youofergalinIsraelMar 10, 2025Copper Contributor984Views1like9CommentsSharePoint 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 youAmandaG1605Mar 09, 2025Copper Contributor121Views1like4CommentsSharepoint automatically adds a trailing zero to a currency in a sharepoint list
Hi there, Furthur to earlier thread https://answers.microsoft.com/en-us/msoffice/forum/all/sharepoint-automatically-adds-a-trailing-zero-to-a/4e41e967-3268-4853-8805-19b682992794?page=1 I am from India and still facing same issue. I have tried all the workarounds provided in above thread but none worked. In my case the column is a calculated column with nested IF formula. A single IF statement takes only 19 conditions until than it calculates value also correctly. But anything above 19 conditions it throws a generic value as Zero with out syntax error. If I add the & operator it calculates the value but adds additional zeros before and after the numbers. Requesting help at the earliest as my project is stuck Regards, AvinashNash007Mar 06, 2025Copper Contributor8Views0likes0CommentsWebhooks for file permissions changes
Hey there! I am looking to receive a webhook from Sharepoint when permissions on a file or folder change. This doesn't seem like an explicit event in Sharepoint, but I did find this section in the docs: I've tested using this header a few times, but so far have not been able to receive the webhooks. Here is a cURL of my webhook setup request: curl --location 'https://graph.microsoft.com/v1.0/subscriptions' \ --header 'Authorization: Bearer [redacted]' \ --header 'Content-Type: application/json' \ --header 'prefer: includesecuritywebhooks' \ --data '{ "resource": "/drives/[drive_id]/root", "changeType": "updated", "notificationUrl": "[target_url\]", "expirationDateTime": "2025-03-03T21:15:14Z", }' Sharepoint responds with a 201, with the following response headers: "headers": { "User-Agent": "Mozilla/5.0", "Accept-Encoding": "gzip, deflate, br", "Accept": "*/*", "Connection": "keep-alive", "Authorization": "[redacted]", "content-type": "application/json", "prefer": "includesecuritywebhooks", "Content-Length": "405" } So it does seem that the header was accepted. In terms of licenses, my Sharepoint instance is tied to a user with an E5 trial license, and a paid E3 license. I am still not receiving webhooks when permissions update on files. I do receive other webhooks (ie files changed, added etc), just not for a permission change event. Has anyone figured out how to use this header successfully? Thanks!mgongAPIMar 03, 2025Copper Contributor45Views0likes0CommentsSharePoint Search
My SharePoint search is not working. I have a document library with 5000 entries. If I filter in two columns, I have about 200 search hits. However, if I use the independent Search Query Tool (https://github.com/pnp/PnP-Tools/tree/master/Solutions/SharePoint.Search.QueryTool) and specify this filter, I only get 15 search hits. I assume that the search index is not working properly. I have already restarted the indexing several times.AnSch2440Mar 03, 2025Copper Contributor19Views0likes1CommentSharePoint Online Search
I have a problem with the SharePoint Online search. I have a document library with about 5000 documents. If I filter here on 2 columns, I get approx. 2000 search hits. If I use the search in the independent search query tool (https://github.com/pnp/PnP-Tools/tree/master/Solutions/SharePoint.Search.QueryTool), I only get 15 search hits. I suspect this is due to the search index. I have already reindexed several times, but this does not lead to any change. what else can I do?AnSch2440Mar 03, 2025Copper Contributor16Views0likes1CommentIssue with SPFx part and OOTB Parts in WebView mode
I've discovered that recently, there appears to be a break introduced when viewing SharePoint modern pages with the parameter of env set to WebView(case-sensitive), e.g /SitesPages/Home.aspx?env=WebView I have to different tenants, which presumably have similar versions of SPO associated with them, but in one environment, I cannot display a Custom SPFx part, whereas the other, it does display. The underlying code for the SPFx part is identical in each case. When attempting to render the SPFx part in the environment where it doesn't work, the following error is visible in the developer tools: Uncaught (in promise) Error: No callbackHandler found. at e.sendMessage (sp-pages-assembly_en-us_763c3cb5e5e8ad1d42d26be71a7d7293.js:79:1269499) at sp-pages-assembly_en-us_763c3cb5e5e8ad1d42d26be71a7d7293.js:79:1628439 In my SPFx part, I can see that the render function is called, but the promise for that render event is never fulfilled, causing the operation to die without any additional indication of a problem. I've also tested OOTB parts, and determined that the Microsoft Forms part is also not working in the same environment where this is broken, but is functional in the environment where the custom SPFx part is working. Please note, there are other tenants where appears to be a rolling change where the break shows up.aderanthsFeb 26, 2025Copper Contributor639Views1like3CommentsSite Script to set Library Permissions
I have been asked to create a site template with 12 Document Libraries and each library has different permissions. I have no issues creating the site script to all the libraries with their columns but I don't know how to set the O365 groups to each library as required. Is this possible with Site Scripts? I have solved this with a very complicated Power Automate Script, but I am trying to make something that is more user friendly for my customers.ccoxckFeb 25, 2025Copper Contributor605Views2likes1CommentSharepoint online vermeer packet calls failing against sharepoint online
I am troubleshooting a very old sharepoint integration program we have. We make calls against sharepoint to place documents in it. And we use a very old sharepoint api (Vermeer packets) This is using some very old code that was originally for on-prem sharepoint but which we have patched over the years to work with sharepoint online. We're finding that with one particular customer that we're getting 500 errors along with the text "Operation is not valid due to the current state of the object." when making calls like I'll show below the break. Now this all works in dozens of other customer installs (yes even sharepoint 365 ones). I'm wondering if there are any sharepoint settings anyone knows about that might cause issues like this. Some type of security hardening switch that may have been flipped to dissallow calls like this? It may very well be that MS doesn't allow calls like this anymore in newer environments but that the older ones are grandfathered in. I'd love to see some type of documentation about something like that, but have found none so far. Below is the call and response I'm getting --- We make the http call POST https://CUSTOMER.sharepoint.com/_vti_bin/shtml.dll/_vti_rpc HTTP/1.1 Content-Type: application/x-www-form-urlencoded X-Vermeer-Content-Type: application/x-www-form-urlencoded User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; windows NT; MS Search 6.0 Robot) Host: esrtcloud.sharepoint.com Content-Length: 46 Cache-Control: no-cache method=url+to+web+url:6.0.2.5420&url=/&flags=0 And Receive the response HTTP/1.1 500 Internal Server Error Content-Length: 62 P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI" X-NetworkStatistics: 1,525568,0,3568,358383,0,228305,6 IsOCDI: 0 X-DataBoundary: NONE X-1DSCollectorUrl: https://mobile.events.data.microsoft.com/OneCollector/1.0/ X-AriaCollectorURL: https://browser.pipe.aria.microsoft.com/Collector/3.0/ SPRequestGuid: 96d380a1-00cc-8000-1d92-1db10c88e0c6 request-id: 96d380a1-00cc-8000-1d92-1db10c88e0c6 MS-CV: oYDTlswAAIAdkh2xDIjgxg.0 Alt-Svc: h3=":443";ma=86400 Report-To: {"group":"network-errors","max_age":7200,"endpoints":[{"url":"https://spo.nel.measure.office.net/api/report?tenantId=00000000-0000-0000-0000-000000000000&destinationEndpoint=Edge-Prod-EWR31r5b&frontEnd=AFD&RemoteIP=64.20.162.0"}]} NEL: {"report_to":"network-errors","max_age":7200,"success_fraction":0.001,"failure_fraction":1.0} Strict-Transport-Security: max-age=31536000 X-FRAME-OPTIONS: SAMEORIGIN Content-Security-Policy: frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com teams.cloud.microsoft *.office365.com goals.cloud.microsoft *.powerapps.com *.powerbi.com *.yammer.com engage.cloud.microsoft word.cloud.microsoft excel.cloud.microsoft powerpoint.cloud.microsoft *.officeapps.live.com *.office.com *.microsoft365.com m365.cloud.microsoft *.cloud.microsoft *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com http://onedrive.live.com *.onedrive.live.com securebroker.sharepointonline.com; SPRequestDuration: 11 SPIisLatency: 1 X-Powered-By: http://ASP.NET MicrosoftSharePointTeamServices: 16.0.0.25722 X-Content-Type-Options: nosniff X-MS-InvokeApp: 1; RequireReadOnly X-Cache: CONFIG_NOCACHE X-MSEdge-Ref: Ref A: 203E3FC24FC84560B6FBE9F468E72B68 Ref B: EWR311000104035 Ref C: 2025-02-12T16:44:53Z Date: Wed, 12 Feb 2025 16:44:52 GMT Operation is not valid due to the current state of the object. For comparison, a successful response to the call looks like this HTTP/1.1 200 OK Server: Microsoft-IIS/10.0 Date: Wed, 12 Feb 2025 20:45:51 GMT Connection: close Content-type: text/html; charset=utf-8 <html><head><title>vermeer RPC packet</title></head> <body> <p>method=url to web url:6.0.2.5420 <p>webUrl=/ <p>fileUrl= </body> </html>grillod1Feb 25, 2025Copper Contributor31Views0likes1CommentHow to hide the Recycling bin button from the Team site navigation
Hi, How to hide the Recycling bin button from the Team site navigation, but show it only to one SP group? Custom code like Customizer, does anyone know? Without publishing features.Pavel2235Feb 25, 2025Brass Contributor46Views0likes1Comment
Resources
Tags
- developer1,226 Topics
- PnP645 Topics
- apis481 Topics
- Extensibility251 Topics
- Responsive128 Topics
- sharepoint111 Topics
- hybrid81 Topics
- SPFx70 Topics
- SharePoint Online64 Topics
- powershell23 Topics