Hi Nick, Thanks for RQL.
Since it is using <TREESEGMENT>, not sure if users with SmartEdit access only can run it. Here is an alternative RQL <ELT action="load" guid="sLINKGUID" /> In the return RQL, within ELT, check attribute islink. 10 means it is referencing something. For more information, please see 562.htm within the RQL doku/manual. Best of luck of whatever you are trying to make. -Jian On Jul 7, 9:56 pm, Markus Giesen <[email protected]> wrote: > Nice one! Thanks Nick! > > On Jul 8, 6:32 am, Nick Galotti <[email protected]> wrote: > > > > > > > > > For those curious here is the function I ended up writing: > > > Function IsReferenced(sPageGUID, sLinkName) > > sLinkGUID = GetLinkGUID(sPageGUID, sLinkName) > > xmlData = "<IODATA sessionkey=""" & SessionKey & """><TREESEGMENT > > action=""gototreereference"" guid=""" & sLinkGUID & """ type=""link"" > > /></IODATA>" > > > xmlData = objIO.ServerExecuteXML(xmlData, sError) > > objXMLDOM.LoadXML(xmlData) > > If (xmlData = "<IODATA>" & vbCrLf & "</IODATA>") Then > > IsNotReferenced = false > > Else > > IsNotReferenced = true > > End If > > End Function > > > On Jul 6, 11:58 am, Nick Galotti <[email protected]> wrote: > > > > I was wondering if anyone knew a way to check if a container is > > > referencing another container which may or may not be connected to a > > > page. -- You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
