Templates Using UDT's

I have Template A that is tied to a UDT. It represents drives and here is how the UDT is set up:

Here is what an instance of the template looks like:
image

What I want to be able to do is click on template A and have it pull up template B which will use the same UDT.

I'm looking for help on the best way to do this. I added a popup page and placed Template B on it... but am unsure on how to make this one instance of the template populate with the correct tags based on which drive (template A) is clicked or if that's even possible. Any suggestions?

The same manner in which you open Template/Instance A, you can open other instances. You could add another property and this could hold the path for the other instance.

Template A has multiple drives all shown on one page... so many instances. I'd like there to be one instance of template B and have it correspond to which drive is selected.

Are you saying I can add a custom property onto template A that connects to template B so it knows which drive tags to populate Template B with?

I think your terminology is confusing me. You mention Template A which is tied to a UDT. Are you saying Template A has many instances of the UDT, as in each drive is an instance of that UDT? If so, what I'm saying is the same way you are instantiating Template A you can do something similar for your Template B.

Oh sorry. Yes, each drive is an instance of the UDT.
Here are my drive tags that are using the UDT:
image
And then I have a main drive page... this is how I'm utilizing Template A and each drive uses the template... so there are multiples:

I'm looking for a way to have that I can have just one singular popup page that changes based on what drive is selected on the main drive page.

I'm not sure how I can instantiate template B the same as I did template A without having multiple popups for each drive that use Template B.

You know the path for each instance correct? Use that to pass into the popup.

1 Like

Okay thanks! I'll try that out now.

That worked. Thanks for your help.

1 Like