问题描述
我们有一个SPFx解决方案(包),里面有两个扩展。我们希望在一个>多个站点上使用/可见,我们希望其他扩展仅在特定站点上使用/可见(而不是其他站点)。
我们已更新两个在elements.xml和clientsideinstance.xml中,只有我们的第一个扩展名在所有网站上使用/可见。
由于只有一个包,因此似乎只有一个功能。可以更新package-solution.json以允许两个功能,我们可以启用一个并禁用其他所有功能吗?如果是这样,还有其他文件需要复制/更新吗?
- 谢谢。恭敬地,Janette M. Ricker
We have a single SPFx solution (package) that has two extensions in it. One we want to be used/visible on one>many sites and we want the other extension to be only used/visible on a specific site (and no others).
We have updated both the elements.xml and clientsideinstance.xml and yet only our first extension is used/visible on all sites.
Since there is a single package, there appears to be a single feature. Can the package-solution.json be updated to allow for two features and we could enable one and disable the other everything? If so, are there any other files that also need to be duplicated/updated?
- Thank you. Respectfully, Janette M. Ricker
这篇关于多个扩展,单个包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!