在没有特权的情况下查看带有用户的Webpart的问题

时间:2019-05-02 11:52:45

标签: sharepoint

我正在为共享点开发Web部件,起初我尝试使用一个空的Web部件,只是自动生成一个带有yo @ microsoft / sharepoint的Web部件,当我将其上传到appCatalog并将其部署在一页上时,如果我是管理员,则没有任何问题

但是,如果我不是管理员,则会看到此错误

[SPLoaderError.loadComponentError]: 无法加载组件“ b14c194f-ec3a-48e6-ade1-575d96b30ce1”(FormularioDes)。 原始错误:无法从组件“ b14c194f-ec3a-48e6-ade1-575d96b30ce1”(FormularioDesglosesWebPart)加载路径依赖项“ FormularioDesglosesWebPartStrings”。 原始错误:加载id.invalid / b14c194f-ec3a-48e6-ade1-_0.0.1 / FormularioDes时出错 无法加载脚本

这是我的package.json

{
"$schema": "https://developer.microsoft.com/json-schemas/spfx-build/package- 
 solution.schema.json",
"solution": {
"name": "formulario-des-client-side-solution",
"id": "id-here",
"version": "1.0.0.0",
"includeClientSideAssets": true,
"skipFeatureDeployment": true,
"isDomainIsolated": false
},
"paths": {
"zippedPackage": "solution/formulario-des.sppkg"
 }
}

0 个答案:

没有答案