I need to generate the published path of Structure Groups and compare them. I am not able to find any function for the same in TOM API for VBScript.
I am using
objSG.Directory, but that gives me only the immediate directory.
How can I get the full published path of a structure group?
Function GetDirectoryPath(objSG) path = "" Do path = path + objSG.Directory objSG = objSG.OrganizationalItem Loop Until objSG.Directory <> "/" GetDirectoryPath = path End Function