プロバイダに複数の接続を持つSharepoint内の接続済みWebパーツを作成することは可能ですか?Sharepoint複数のWebパーツへの接続
たとえば、 WebパーツAとBがプロバイダで、WebパーツCがコンシューマです。
Aは、消費者Cに提供され、そしてBは、消費者Cにプロバイダ
おかげです。
Rhys、 私はこれを試してもうまくいかないようです。コンシューマーWebパーツは、それが最後に設定したプロバイダーで動作します。
[ConnectionConsumer("KeywordsConsumer", "KeywordsID", AllowsMultipleConnections=true)]
public void ProviderReceiver1(ICommunicationChannel p)
{
provider = p;
}
[ConnectionConsumer("NewEmployeeConsumer", "ID", AllowsMultipleConnections=true)]
public void ProviderReceiver2(ICommunicationChannel p)
{
provider = p;
}
ええ、それだけです。ありがとう!もう1つ質問ですが、この場合でもAllowsMultipleConnections属性が必要ですか? – devXen