EmbeddedObjects array of Profile doc

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

Subject: EmbeddedObjects array of Profile doc

what is the DIM statement for rtTemplate?

it should be variant or notesrichtextitem.

Check the type property of the embedded object

Subject: EmbeddedObjects array of Profile doc

Came in Monday morning and eveything worked perfectly. Must be a feature.