Closed mauriziovitale closed 8 years ago
Due a problem in the RestApi the thumbnail could be not generated during the upload:
When this problem occurs , the thumbnails have to be asked with the parameter c=queue in order to be regenerated.Something like :
More details can be found also in this discussion in the forum:
With this parameter probably the thumbnails are regenerated every time ( this is the approach used in Share ).
Despite the fact that this approach regenerate the thumbnail you need to reload it at least once in order to display it.
From the conversation with @ohej we can:
For multipart/form-data upload you can use the renditions field to create renditions (e.g. doclib) asynchronously upon upload. Note that currently only one rendition can be requested. Also, as requesting rendition is a background process, any rendition failure (e.g. No transformer is currently available) will not fail the whole upload and has the potential to silently fail.
the parameter is parsed here
The method getDocumentThumbnailUrl should return the thumbnail but we receive alway the error:
{"error":{"errorKey":"Thumbnail was not found for [doclib]","statusCode":404,"briefSummary":"07080503 Thumbnail was not found for [doclib]"