New answers tagged

0

Try using this: Connect-PnPOnline -Url https://contoso.sharepoint.com -UseWebLogin OR Connect-PnPOnline -Url https://contoso.sharepoint.com -PnPManagementShell -LaunchBrowser -UseWebLogin If you want to connect to SharePoint with browser based login. This is required when you have multi-factor authentication (MFA) enabled. Source: Connect-PnPOnline


0

Per my test, I could reproduce this issue on my end. It seems to be a bug that on SharePoint online workbench it tries to request node_modules/react-dom/dist/react-dom.js instead of the react library


1

I think you have to create a lookup column for this. Create a lookup column in QuanLyMembers list referencing to QuanLyPhongBan list. Check below note from Microsoft: There are requirements to keep in mind when creating list joins. You cannot join just any two lists, regardless of type. And if two lists can be joined, not just any primary and foreign field ...


2

Probably Typescript type-check does not recognize the inline object as PlainObject: settings Type: PlainObject (source) You could try this var requestBody = JSON.stringify(fileData); var settings: Object = { url: requestUri, type: "POST", headers: requestHeaders, data: requestBody }; return $.ajax(settings);


0

Try using below working code: $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/GetByTitle('SPFxFiles')/items", type: "POST", data: JSON.stringify({ __metadata: { type: "SP.Data.SPFxFilesListItem" }, Title: fileTitle, SPFxFileName: fileName, ...


0

Office 2010 is not supported with SharePoint Online. You'll need to upgrade, first. https://docs.microsoft.com/deployoffice/endofsupport/office-365-services-connectivity In addition, Office must be signed in as the same user that has access to SPO.


0

I couldn’t reproduce your issue. Please try as following: Open Excel Professional 2010 Desktop, click File and choose Open, then input library URL(https://tenant.sharepoint.com/sites/XXX/Document Library) to open an document and check the result. If the issue still exists, open Edge in InPrivate window and re-open the document in desktop to test.


1

Code based sandbox solutions contain server-side code and the solution contains .Net assembly file (.dll). SharePoint online doesnot support Code-based sandbox solutions. You could transform sandbox solutions to the SharePoint Add-in model: https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/sandbox-solution-transformation-guidance


2

Samuel, From the error, it looks like you may be trying to use Dynamic properties. Dynamic properties were introduced in SPFx 1.7, unfortunately SharePoint 2019 only supports up to SPFx 1.4.1. I know it probably isn't the answer you were hoping for, but is explains the errors you're getting. Let us know if we can help you in any other way?


0

This will not work because the event type in the workflow history table in SharePoint 2013 is blank. See this Link: SharePoint Workflow history List


1

Just add await in your code, use this instead: const allItems : any [] = await sp.web.lists.getByTitle("Documents").items.get();


0

Seems you are missing await in your code. Try using below code: import { sp } from "@pnp/sp"; import "@pnp/sp/webs"; import "@pnp/sp/lists"; import "@pnp/sp/items"; // get all the items from a list const items: any[] = await sp.web.lists.getByTitle("Documents").items.get(); console.log(items); Reference: ...


0

In addition to specifying the DNS addresses (as mentioned above), I also had to disable (uncheck): Internet Protocol Version 6 (TCP/IPv6). Confirmed that using my automatically obtained DNS OR keeping IPv6 enabled, would cause the issue in my environment.


Top 50 recent answers are included