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.

Reply via email to