We currently are looping through the elements on the page to look for a 
particular ID (stored in a stardard field). The current code looks like 
this:
<foreach itemname="item" 
object="Context:CurrentPage.Elements.GetElement(con_body).Value">

We want to move this code into a container to be able to reuse this code 
across several content classes. I have been unable to figure out what to 
use to get to the elements of the parent page from within the container. I 
have tried:
<foreach itemname="item" 
object="Context:CurrentPage.Parent.Page.Elements.GetElement(con_body).Value">

I have dug through the documentation and searched as much as I could here 
but cannot find any clear guide of what different types of objects that you 
can access. Any help appreciated.

Running RedDot CMS 7.5

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to