cancel
Showing results for 
Search instead for 
Did you mean: 

Rendition placeholders on bulk import

darminm
Champ on-the-rise
Champ on-the-rise
Hi,

Is there a way of getting rendition placeholders during large import of documents on the fly?
We are importing a mix of image & office documents and immediately launching a custom application with a folder workspace for that import.

Right now we are waiting for all the renditions to take place and launching the workspace.
What we would like to do is upload documents, request rendition-receive placeholder and launch the workspace.  Once the rendition complete it would simply become available.

Thank you
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator

When you open the document library, you might notice that each of the thumbs has a URL like:

http://localhost:8080/share/proxy/alfresco/api/node/workspace/SpacesStore/74cd8a96-8a21-47e5-9b3b-a1...

The "c=queue" argument tells Alfresco to queue up an asynchronous conversion if the thumbnail does not exist and the "ph=true" tells Alfresco to return a generic placeholder if the rendered thumb does not yet exist.

I'm not exactly clear on what your workspace is, but if it is a custom app, you could use a similar approach so that you will always either see a generic placeholder or the actual thumbnail if it exists, and, by invoking this URL you'll request the actual thumbnail generation.