Can anyone suggest why the HadEmbedded property of the Profile document is true but the EmbeddedObjects array cannot be accessed? There should be one attachment in a rich text field called “Template” on the Profile doc. There is no hide-when on this field.
Set rtTemplate=docProfile.GetFirstItem("Template")
Forall objTemplate In rtTemplate.EmbeddedObjects
Call objTemplate.ExtractFile(strTemplatePath)
End Forall