Thanks Gavin; works like a charm! For anyone stumbling upon this, I also found this: https://yellowpencil.com/blog/accessing-parent-page-information-in-opentext-wsm/ which helps when you have page2 linked to more than one container.
<%!! Context:CurrentIndex.Page.Elements.GetElement(stf_date).Value !!%> Boby On Wednesday, January 30, 2019 at 2:56:51 AM UTC-5, HiRAEdd wrote: > > Hi Boby, > > It's been a while but I'm thinking something like: > Context:CurrentPage.MainLink.OwnerPage.GetElementByName(stf_date).Value > > Cheers, > > Gavin > > On Wed, 30 Jan 2019 at 06:43, Boby <[email protected] <javascript:>> wrote: > >> Hi, >> >> I'm trying to get the value of element stf_date of page1 from page2 's >> template. >> page 2 is connected to the container con_body of page 1. >> >> Any idea how can this be done? >> >> page1 >> | >> |-- stf_date >> |-- con_body >> |-- page2 >> >> >> Thanks, Boby >> >> >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/reddot-cms-users. >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > Gavin Cope > <https://www.facebook.com/gavincope> > <https://www.linkedin.com/in/gavincope> > <https://plus.google.com/+GavinCope> > *Mob:* +61 407 763 110 > *Email:* [email protected] <javascript:> > "It's not denial. I'm just very selective about the reality I accept." - > Calvin > -- 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 https://groups.google.com/group/reddot-cms-users. For more options, visit https://groups.google.com/d/optout.
