cancel
Showing results for 
Search instead for 
Did you mean: 

how to create a part of a view that can be reused in many components

Former Member
0 Kudos

Hi,

We need to create 10 WDA forms with a header area that displays info about the employee, department & date of submission. Is there any way that this portion can be created as a view of a common component and be reused in views of the main components?

I think Floor Plan Manager may help, but am not sure on how to proceed. pls help.

Regds

Thiru

Accepted Solutions (1)

Accepted Solutions (1)

gill367
Active Contributor
0 Kudos

Hi

It is very much possible to create one component with soem view and use it in some other components.

for achieving this, Create one component say Z_form.

in t his create the reusable view with fields displaying the information about the employee, department & date of submission.

this view will be present in the window. and one interface view will be created automatically with same name as window.

This particular interface view you can use in other components.

but before seeing how to use it . you need to map the context of view with the interface controller.

so that data can be passed from soem other compoenent from outside.

for this create the node and desired attribute under it in comp controller and check the box interface,.

this will create the node in the interface controller also .

drag the node in teh view context also.

Usage of this comp.

To use it in say comp Z_use1 add the comp usage of Z_form.

then go to the main view where you want this view as a part.

add viewUIcontainer UI and save it . open the window and expand the view node.

there you will have the view contianer UI displayed .

right click on it and select embed view.

here select the interface view of the comp usage Z_form.

and pass the data to the interface controller.

this way you can use it in as many views and compoenets as you want

thanks

Sarbjeet singh

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thiru,

As you said, Forms means adobe forms? If you want to use adobe forms we have master page, Create your reusable part in master page.

Normal wd application means, create one application with reusable data, and reuse this component in other components as used component. It might helps you.

Thanks,

Kris.