cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Website objects query issue

veldew
Super Contributor

Hello,

 

I have a question regarding website templates.

When creating a template, i want to select the Objects to generate.

For example i have a template starting from a Library object, and my queries for selecting the several object types(operation, processes,...) contains" Select Operation where owner = &Libraryname"

 

The problem is that when i create a website object, i have to set my library for each underlying query(for each object type)

 

Is there a way i can ask for the library only once, and base my next queries on this selected library ?

 

Tnx for pointing me in the right way

 

Kind regards,

Wim

1 Reply

lionel
MEGA
MEGA

Hello Wim,

 

the simplest way will be to have the same variable name in all your queries (&Libraryname for example).

(of course, that means your variable always stands for the same metaClass 😉

 

 

Regards

 

Lionel