GetLatestAssociatedFilePathsByMasterIds Method
Gets the latest associated file paths of files by their master Ids.
Required Permissions
FileReadSyntax
public FilePathArray[] GetLatestAssociatedFilePathsByMasterIds(
System.long[] fileMasterIds,
FileAssociationTypeEnum parentAssociationType,
System.bool parentRecurse,
FileAssociationTypeEnum childAssociationType,
System.bool childRecurse,
System.bool includeRelatedDocuments,
System.bool includeHidden,
System.bool releasedBiased
)Public Function GetLatestAssociatedFilePathsByMasterIds( _
ByVal fileMasterIds() As System.Long, _
ByVal parentAssociationType As FileAssociationTypeEnum, _
ByVal parentRecurse As System.Boolean, _
ByVal childAssociationType As FileAssociationTypeEnum, _
ByVal childRecurse As System.Boolean, _
ByVal includeRelatedDocuments As System.Boolean, _
ByVal includeHidden As System.Boolean, _
ByVal releasedBiased As System.Boolean _
) As FilePathArray()Parameters
| Name | Description |
|---|---|
| fileMasterIds | The master IDs of the files. |
| parentAssociationType | The types of parents to get. |
| parentRecurse | If true, all levels of parents will be returned. If false, only the direct parents will be returned. |
| childAssociationType | The types of children to get. |
| childRecurse | If true, all levels of parents will be returned. If false, only the direct parents will be returned. |
| includeRelatedDocuments | If true, parent design documents are returned for all returned files. If false, no additional files will be added to the return set. |
| includeHidden | If true, files marked as hidden will show up in the search. Otherwise hidden files will be excluded. |
| releasedBiased | If true, then the latest version in a released state will be returned. If false, the latest version is used regardless of state. This parameter is ignored for the Vault product. |
Return Value
An array of FilePathArray objects.
Remarks
See "File Associations" page in the Knowledge Base for more information.