- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm new to the Vault API and I have so far been successful in calling AcquireFiles to get a DWG file from the Vault. However, I have found that it is not downloading the files associated with this drawing that are references inside the DWG. For instance, we have a folder structure like this: $/A&E/4460/55141423_T1/DWG and for external files that are references inside the drawing, there will be additional folders with files inside them, like $/A&E/4460/data (contains PNG images) and $/A&E/4460/55141423_T1/DWG/AE_PROMO (contains a PDF file). The only thing I'm getting is the actual drawing file, nothing else.
I have used the following settings to no avail:
settings.OptionsRelationshipGathering.FileRelationshipSettings.IncludeChildren = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.RecurseChildren = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.IncludeLibraryContents = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.IncludeAttachments = true;
settings.OptionsRelationshipGathering.IncludeLinksSettings.IncludeLinks = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.IncludeHiddenEntities = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.IncludeRelatedDocumentation = true;
settings.OptionsRelationshipGathering.FileRelationshipSettings.VersionGatheringOption = VersionGatheringOption.Latest;
settings.OrganizeFilesRelativeToCommonVaultRoot = true;
My ultimate goal is to take the DWG file and produce a PDF file via Publish. However, currently, when i create a PDF file from the drawing, I am missing the PNG images and the pages referenced from the external PDF file.
Does anyone have any suggestions or ideas on how I could get this to work?
Solved! Go to Solution.