cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing components among different applications..

Former Member
0 Kudos

Hello experts..

I'm working a WD Project with several teammates, every WD Developer has an independent porject for his own, but we realized that some componentes could be shared among applications, like an error handling component we're using.. by now we replicate this component in every project, I suppose there's a way to make this component independent and that all different projects/apps can use this comp..

Any direccions, reference or ideas on how to accomplish this?

Thanx in advance.

JV

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Yes, you can reuse your existing methods, context and events defined in the controller of one DC into another DC.

You need to expose the methods in the interface controller of the DC whose methods are to be exposed.

A public part needs to be created of the above DC.

This public part needs to be added as used DC for the using DC.

Regards,

Murtuza

chintan_virani
Active Contributor
0 Kudos

Jesus,

You will need NWDI setup for multi-developer scenario.

Have a look at [this |https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/78f5e242-0a01-0010-ed9b-eff04ebdf736] [original link is broken]; to gain some insight.

Once your NWDI is setup you can WebDynpro DC Projects and have ypur error compnent as one DC project which can then be referenceed in your independent WebDynpro project.

Chintan