SP2013的多实例应用程序 [英] Multi-instance Apps for SP2013

查看:90
本文介绍了SP2013的多实例应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

如何为每个网站制作应用多实例? 我们需要能够多次安装我们的应用程序并为每个实例提供独特的资源,因为它们都是常见的可重用组件(主要用作包含
自定义列表的页面上的应用程序部件等)。

How do you make an App multi-instance per site?  We need to be able to install our app multiple times and have unique resources for each instance as they are all common re-usable components (using them predominantly as App parts on pages containing custom lists etc.)

似乎内置组件可以多次安装,所以假设它也可以通过应用程序完成。

It seems that the built in components can be installed multiple times so assuming it can also be done with Apps.

我们正在使用Office 365。

We are using Office 365.

干杯,

Rich

推荐答案

Rich -

每个站点只能安装一次SharePoint应用程序。 您引用的内置组件可能是名为"apps"的列表/库。在用户界面,但不是真正的应用程序。 当应用程序安装到主机站点时,它的AppWeb
(如果适用)被配置为主机站点下的子站点,其名称为app:

Rich -
Apps for SharePoint can only be installed once per site.  The built-in components you are referring to are probably lists/libraries which are called "apps" in the UI but are not really apps.  When an app gets installed into a host site, it's AppWeb (if applicable) is provisioned as a subsite under the host site with the name of the app:

https:/ /tenant.sharepoint.com/SomeHostSite/AppName

https://tenant.sharepoint.com/SomeHostSite/AppName

这说明了在主机站点允许同一个应用程序的多个实例(他们的AppWebs会发生冲突)的挑战。 此AppWeb冲突的唯一例外是使用" App
Stapling
",在这种情况下,所有实例都指向同一个AppWeb和RemoteWeb。 这听起来并不会对你的努力有所帮助。

This illustrates the challenge of allowing multiple instances of the same app in a host site (their AppWebs would conflict).  The only exception to this AppWeb conflict is when the app is deployed through the App Catalog using "App Stapling", in which case all instances point to the same AppWeb and RemoteWeb.  This doesn't sound like it would help your efforts.

帮助我准确理解你要做的事情,也许我可以提供一个很好的选择,例如让你的应用程序多实例化。

Help me understand exactly what you are trying to do and perhaps I can offer a good alternative such as making your app multi-instance aware.

-Richard(MSFT)

-Richard (MSFT)


这篇关于SP2013的多实例应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆