質問

I have a custom document library portlet, where I have to show metadata of attached document in another page, can anyone suggest how can I show these fields?

役に立ちましたか?

解決

You can use DLFileEntryMetadataLocalServiceUtil.

DLFileEntryMetadata fileEntryMetadata = DLFileEntryMetadataLocalServiceUtil
                      .getFileEntryMetadata(ddmStructure.getStructureId(), fileVersionId);

Fields fields = StorageEngineUtil.getFields(fileEntryMetadata.getDDMStorageId());
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top