How to get the mimetype of a Hit returned from DAM search?


i have query searches dam , return list of documents. there pdfs, .doc, .xls, etc.

 

is there anyway find mime type of hit?

 

i tried hit.getproperties(), hit.getresource(), hit.getnode() etc no avail.

 

wondering knows how retrieve jcr:mimetype hit?

 

thanks!!!

when hit.getnode() return anything?  if returns node should able node.getproperty("jcr:mimetype").  if not might need resource , adaptto(node.class) @ properties.  seems me i've done before, i'll around see if can figure out i've retrieved mime types.



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support