Trevor Toenjes writes:
Dieter Maurer writes: ... getattr(context,myFolder).objectValues(...) .... The following line tests properly in the script. for object in context[myFolder].objectValues(myObjectType) <<tests correctly It looks like this is an alternative to your suggestion. It is when "context" is a folder... The difference, subscription does not use acquisition in this case, while "getattr" does.
The continuing issue is...now I am trying to call this tuple for a Formulator Items property override.
I include the following for Items and get an AttributeError tuple_of_items(emailscripts,'DTML Method') In this case, "context" is the Formulator item, which is not a folder...
Look careful at your error message! It should tell you, what attribute is not found.
My assumption is - emailscripts is an object If it is indeed, then you must not use subscription nor "getattr". Use the object directly (at least, if it is the correct one).
- and DTML Method is a string That should not be a problem.
Viele Grüße Dieter