cancel
Showing results for 
Search instead for 
Did you mean: 

passing values between components in a different project

Former Member
0 Kudos

Hello,

Is it possible to use a component from a different project? If so, how do I pass its values from one to the other, and vice versa? How about events?

both projects are going to be deployed in portal.

regards,

arnold

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Arnold,

Hope this will help u

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0ad5c161945">Componentization</a>

u can find the sample application here

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#9</a>

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845">Events</a>

regards

Sumit

Message was edited by:

Sumit Malhotra

Former Member
0 Kudos

Thanks, I got it.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

If I got your question correctly. You have two Dcs in different SCs.

If so you can grant permission to the SC where you want to access your DC.

Rest as as same as you work with DCs in Same SCs.

You create a interface controller and expose the methods events and nodes

and subscribe them in the used DCs.

Regards

Ayyapparaj

former_member485701
Active Participant
0 Kudos

Hi,

Following are the steps to do this:

You have two DC's dc1 and dc2 in different SC and you want to pass the value of dc1 in dc2.

(1) Give access to SC to use dc1.

(2) In dc1's interface controller and component controller create attribute, of which

value you want to pass or in which you want to pass the value.

(3) Add in used component of dc2 to dc1.

(4) And map the same attribute to dc2's component controller.

I think this should solve your problem

Regards,

Praveen