AnsweredAssumed Answered

Filling cm:content properties during metadata extraction

Question asked by masterhard on Mar 17, 2011
Latest reply on Mar 17, 2011 by masterhard
Hello,

I am writing custom metadata extractor. Some portions of my metadata are relatively big files (several megs) and I need this file to be stored separately from uploaded file.

When I use AbstractMappingMetadataExtractor.putRawValue method, when property type is cm:content I get empty reference in repository (looking like contentUrl=|mimetype=|size=0|encoding=|locale=en_US_|id=69). When property type is cm:mltext (my data is actually XML file) I get mysql exception (string too long) since data is really too long.

How to  set cm:content data in appropriate way?

Outcomes