cancel
Showing results for 
Search instead for 
Did you mean: 

How to insert/import an external component into my DC?

Former Member
0 Kudos

I create two DCs. The DC1 contains component MyComponent1 and DC2 has MyCompoent2. Now I want to insert/inport the myComponent2 into DC1. I do followings:

1.

I make the MyComponent2 as public parts.

2.

Build the jar file.

But how can I input/import this jar to my DC1 so it can import the MyComponent2 into my DC1?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

In your DC1>DC MetaData>DC Definition>Used DCs>Right click Add Used DC-->From the list select the Public part of the DC2.

Now build your second DC and you can access DC1 in your DC2.

Warm Regards,

Murtuza

Former Member
0 Kudos

Hi Murtuza,

Thanks for the reply. But how can I make the public part component back to non public?

Former Member
0 Kudos

Hi,

Component Properties->Public Part-> Will display all your public parts

select the one and right click and remove

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

If you just want to remove the usage from DC1 of DC2 then delete the usage from the used DC list in DC1.

If you want to remove the public part then in your DC2 right click on the public part being created by us and select delete.

Warm Regards,

Murtuza

Former Member
0 Kudos

Where can I find the Component Properties-> ? Under the WebDynpro tree?

Former Member
0 Kudos

Hi Wei. I notice the post is marked as answered but the last entry is a question. Do you still have a question or is it really answered? Just curious.

Former Member
0 Kudos

Hi,

DC>DC Meta Data>Public Part-->Right click on A(which is public part) -->Delete

Answers (1)

Answers (1)

former_member185029
Active Contributor
0 Kudos

Hi,

External jar files can be included using Library DC.

Expose the jar in public part of Library DC and add it as a used DC in your project.

Ashu