diff --git a/public/js/src/module/connection.js b/public/js/src/module/connection.js index 2e94e26e..cd7ed71a 100644 --- a/public/js/src/module/connection.js +++ b/public/js/src/module/connection.js @@ -462,7 +462,7 @@ const transformPreviewXForm = async (xformURL) => { mode: 'cors', }); const xform = await response.text(); - const transformed = await transform({ xform }); + const transformed = await transform({ xform, openclinica: true }); // Since media attachments will not be available for preview-by-URL, map // media file names to empty `data:` URLs.