jimmyhartington Posted October 10, 2017 Share Posted October 10, 2017 Hi On one portal I have a lot of templates. This portal has a lot of user and each user has their own logo. When I add a new user I add TPA information and one of these fields help load the logo. The disadvantage is I need to add a new logo file to all the templates under the images tab in the template. This takes a lot of time with a lot of templates. I would like to grab the logo from my webserver. But this does not work in Marcom. It works locally. Right now I have this code running locally: var picture = new CreateResource("https://files.skabertrang.dk/jh/marcom-image-test/" + Field("billedefil") + ".jpg"); return picture; And this does not work when I upload the template to Marcom. Does anybody know if this is possible in Marcom? Or if it is closed of due to security concerns? Link to comment Share on other sites More sharing options...
jwhittaker Posted October 10, 2017 Share Posted October 10, 2017 Jimmy I have the same issue. We have a client that has hundreds of images and they update some of them almost monthly. They are using TPA also. I was told you can't pull from an outside server from TPAs. I do have another product that is not using TPAs and pulls images from an outside webserver. I changed my code to your info so you can try the code like this and see if it works. return CreateResource("https://files.skabertrang.dk/jh/marcom-image-test/" + Field("billedefil") + ".jpg","graphic",true); Link to comment Share on other sites More sharing options...
jimmyhartington Posted October 10, 2017 Author Share Posted October 10, 2017 Hi I just tried your code in Marcom: return CreateResource("https://files.skabertrang.dk/jh/marcom-image-test/" + Field("billedefil") + ".jpg","graphic",true); Unfortunately it did not work. Maybe somebody else has some good ideas how to achieve this. Link to comment Share on other sites More sharing options...
Dan Korn Posted October 10, 2017 Share Posted October 10, 2017 The ability to download resources from secure URLs, starting with "https://", as opposed to only non-secure URLs, starting with "http://", was added to FusionPro VDP in version 10.0.16. Unfortunately, MarcomCentral is still running FusionPro VDP Server version 10.0.2, so downloading "https://" URLs is not currently supported when composing via MarcomCentral. Hopefully MarcomCentral will be upgraded to a newer version of FusionPro VDP, with support for downloading "https://" URLs, sometime soon. Until then, you will only be able to use "http://" URLs in online MarcomCentral compositions, and not "https://" URLs. Link to comment Share on other sites More sharing options...
jimmyhartington Posted October 11, 2017 Author Share Posted October 11, 2017 Thanks Dan. This did indeed solve the problem. This will so greatly improve my templates for this customer and future ones. Link to comment Share on other sites More sharing options...
Recommended Posts