문제

I tried to create a visual web part and publish it to SharePoint online:

I created a visual web part at local using SharePoint server 2016 and to publish to SharePoint online, I selected "Sandboxed Solutions".

enter image description here

I tried to run test at local and publish to SP Online, but both throws errors:

$Resources:core,ImportErrorMessage;

enter image description here

enter image description here

Can I create visual web part for SharePoint online in SharePoint 2016?

도움이 되었습니까?

해결책

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top