Viewable Rendition
AnsweredHow do I pull the viewable rendition through VQL? If I want to pull the path of the file to the veiwable rendition, would this work?
SELECT filename__sys
FROM renditions
WHERE rendition_type__sys = 'viewable_rendition__v'
0
-
Official comment
If you are looking to download a rendition, this can be done using the Download Document Renditions API, and the rendition_type__sys value from VQL.
VQL Query example:
SELECT rendition_type__sys
FROM renditions
Endpoint:
GET /api/{version}/objects/documents/{doc_id}/renditions/{rendition_type}
https://developer.veevavault.com/api/22.3/#download-document-rendition-file
VAPIL example:VaultResponse response = Client.getVaultClient().newRequest(DocumentRenditionRequest.class)
.setOutputPath("C:\\Users\\Eric Matelyan\\Downloads")
.downloadDocumentRenditionFile(1916, "viewable_rendition__v");
Please sign in to leave a comment.
Comments
1 comment