AnsweredAssumed Answered

Setting the ContentURL at runtime

Question asked by jeep4x4s on Sep 29, 2011
I would like to specify a path to store a document at runtime within the store.  The bottom of slide 18 in the following slideshow eludes that this my be possible:

Does anyone know how to do this?  It seems to me that the something like following code would make this work, but it doesn't seem to have any effect for me:

nodeService.setProperty(createdNode, ContentModel.PROP_CONTENT, "contentUrl=store://temp/doc.docx|mimetype=application/octet-stream|size=926019|encoding=UTF-8|locale=en_US_|id=106");