Is it possible to create a pipeline from one add-in to another?

Aug 22, 2008 at 8:33 PM

In this scenario you have an add-in A which wants to introduce a new contract that its host knows nothing about, and you have add-in B that wants to consume this new contract. You could also have the scenario where add-in B also wants to introduce a new contract that add-in A wants to consume.

If this is possible how do you go about doing this?

Aug 25, 2008 at 1:29 PM

Hi

 

You can introduce new contract between two Add-ins without introducing it to Host. Let me explain how you can achieve it ….say you have a Host H1 and an Add-In A1 and there is a pipeline P1 that works between H1 and A1.

 

Normally the structure would look like this

 

H1----P1---A1

 

Now we will talk about your scenario (What is my understanding…)

 

You want a new Add-In say A2, Which should work with A1 only. You can simply follow following simple steps to achieve this

  1. Create a new Add-in A2.
  2. Create a new pipeline P2
  3. A1 would act as a Host for A2, so give the reference of HostView of P2 (a pipeline element) to A1.
  4. A2 would act as a Add-in for A1, so give the reference of AddinView of P2 (also a pipeline element) to A2.

 

Project structure would look like

 

H1----P1----A1-----P2------A2

 

I think you would be able to understand what I am trying to say. Please let me know if you still have any problem.


Tarun
Aug 26, 2008 at 8:36 AM
Hi John,

I did a detailed blog post on this here.

HTH,
Kent