From 7844fdd015e32d396fb06161f28a2c4790e33978 Mon Sep 17 00:00:00 2001 From: Francis Reat Date: Mon, 2 Mar 2026 14:47:24 +0100 Subject: [PATCH] SCPN1-10294 --- RFXtoRP_HsaItm_ItemCreated.ftl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/RFXtoRP_HsaItm_ItemCreated.ftl b/RFXtoRP_HsaItm_ItemCreated.ftl index 4433f6e..c78fb37 100644 --- a/RFXtoRP_HsaItm_ItemCreated.ftl +++ b/RFXtoRP_HsaItm_ItemCreated.ftl @@ -24,9 +24,14 @@ <#include "RFXtoRP_HsaItm_ItemCreated_ItemMetadata.ftl"> <#-- Item Photo URI could be added here --> - <#if item.url?? && item.url!=""> + <#if item.saved_picture_path?? && item.saved_picture_path!="" && item.saved_picture_path?starts_with("http") == true> + , + "PhotoURI": "${item.saved_picture_path?json_string}" + <#else> + <#if item.url?? && item.url!="" && item.url?starts_with("http") == true> , "PhotoURI": "${item.url?json_string}" + <#-- Loop for the Logistical Variants - LV -->