cancel
Showing results for 
Search instead for 
Did you mean: 

component reuse

Former Member
0 Kudos

Dear Experts,

Greetings.

In NWDS 7.1 ... I'm trying to reuse a component in another one..

I mean I have two DCs in a package and I want to access the view of DC2 in DC1.

Kindly let me know the steps to achieve this.

Thanks and regards

Sathya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You could directly copy the component from 1 DC to the other, but sometimes this doesn't work. It will show errors, like , it won't recognize your view.. In that case, try changing the import in the view. You have to try different combinations of the import, for this to work...Still if this doesn't work... you could try copying the UI elements in your view to your new view.. but this is more work.

PS: Make sure to change the name of the component,views and windows after copying and if you are using a model then you have to recreate the model and its bindings

Thanks & Regards,

Meenakshi.

sathyags
Active Participant
0 Kudos

Hello....

I have two different DCs....I want to access one's view from the other...

I followed the following steps....but getting an exception "Internal server error".

https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8881. [original link is broken] [original link is broken] [original link is broken]

Kindly help.

Thanks and regards

Sathya

Former Member
0 Kudos

Hi,

Sorry. I misunderstood you... Try this link, it could be helpful..

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/800b7206-9c6d-2910-f78e-ce403471...

Thanks & Regards,

Meenakshi.

Answers (0)