Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi.
My WTDocumets and EPMDocuments have primary content.
But wt.content.ContentHelper.getPrimary(contentHolder) method returns null for all of them.
Why?
Solved! Go to Solution.
Resolved.
ContentHolder refreshedContentHolder = ContentHelper.service.getContents(contentHolder);
ContentItem contentItem = ContentHelper.getPrimary((FormatContentHolder) refreshedContentHolder);
works fine.
Resolved.
ContentHolder refreshedContentHolder = ContentHelper.service.getContents(contentHolder);
ContentItem contentItem = ContentHelper.getPrimary((FormatContentHolder) refreshedContentHolder);
works fine.