简体   繁体   中英

How to know content type of an item stored in alfresco repository?

I have a number of custom content types created in alfresco repository & I am uploading a number of items in alfresco of these types.

After uploading I want to determine content type such as cm:content or lj:doc or lj:invoice etc. of an item in alfresco. I tried with ContentService & DictionaryService but not helpful.

How can i do it?

Regards.

使用nodeService:nodeService.getType(NodeRef nodeRef)返回QName

有关内容类型的更多信息,您也可以使用content.mimetype!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM