spo
5 TopicsGraph Get SPO Webpart Information
I started a Graph request against a SPO site, trying to get detailed information about the integrated webparts. Graph Call was GET https://graph.microsoft.com/beta/sites/{site id}/pages/{page id} I assumed a response like the Microsoft Docs shows: https://learn.microsoft.com/en-us/graph/api/sitepage-get?view=graph-rest-beta&tabs=http But all webparts where shown only like this: "webParts": [ { "type": "544c1372-7e5a-49ec-8db6-812f76c375f2", "data": { "id": "544c1372-7e5a-49ec-8db6-812f76c375f2", "instanceId": "5feff54a-69c4-4795-93d2-ab74501c3c6f" } } How do I get an response like microsoft docs are showing? I want to provision SPO pages with pre-configured webparts through SiteScripts. Any ideas?558Views0likes0CommentsSharePoint 2016 FBA migration to O365/Azure
Hello, I have a case like below: SharePoint 2016 External facing portal AD based FBA implemented (ActiveDirectoryMembershipProvider) with custom login page Portal allows users to change their passwords, edit properties Aim or best would be to distinguish login page to portal from aad login page All done in farm solutions Could you suggest me what are the alternatives in SPO/Azure? What are the best practices? How to migrate/refactor such solution? I thought about ROPC flow and some custom login page in Add-In model but i don`t know if it possible and surely not recommended;)779Views0likes0CommentsObtaining full HTML of a SPO Site Page programatically
Hi I need to obtain the full HTML of a SPO Site Page programatically. I have a SPFx web part showing latest published site pages. So far I tried with PNPJS (ClientSidePage.fromFile) with Search (CanvasContent1OWSHTML) and with SP REST API (getbytitle('Site Pages')/Items?$select=CanvasContent1) All of them seem to return some HTML which is not the full page. Is there a way to obtain the full page without using iFrame? Greeitings, George1.5KViews0likes0CommentsGetting error on Core.ListViewThreshold code while using camlQuery.FolderServerRelativeUrl property
Issue/Error Details I am trying to retrieve files from a specific document library folder(with RecursiveAll view option) using "GetListItemsByBatch()" method in the below mentioned code file. The document library am using is having more than 40000 files/folders and folder specific folder which am querying is at 4th to 5th level hierarchy and contains very few files. So while using the below PNP code to retrieve files from specific folder I set the camlQuery.FolderServerRelativeUrl = "/sites/site1/Doclibrary/Folder1/Folder2/Folder3/Folder4/Folder5"; When i executed the code i got Error "The attempted operation is prohibited because it exceeds the list view threshold enforced by the administrator". when i executed the same code without the "FolderServerRelativeUrl" property, I am able to retrieve all the 40000 files from document library. Please note that, View scope should be set to Recursive All. Steps to Reproduce Execute the "GetListItemsByBatch()" method on a document library which is having more than 5000 or 20000 files/folders and set the property camlQuery.FolderServerRelativeUrl to point to specific folder at 4th or 5th level. Please note that, View scope should be set to Recursive All. PFB //Set View Scope for the Query camlQuery.SetViewAttribute(QueryScope.RecursiveAll); Pnp Code Location: https://github.com/SharePoint/PnP/blob/master/Samples/Core.ListViewThreshold/Core.ListViewThreshold/Program.cs Environment [ ] Office 365 / SharePoint Online809Views0likes0Comments