Source URI for image in Form Designer
Is it possible to have the source URI for an image in Form Designer be a link/path to an image on another server? For example I would like the source URI to be:
http:\\myserver\images\image.png rather than an image stored in {RestVirtualDirectoryURI} or similar. Thanks in advance.
-
Mike,
Short answer - yes.
I have a virtual directory erved up by IIS with all my UI and workflow images in there and it makes it easy to use this as the central repository for all images that are not part of the OOTB install.
I have a directory called c:\inetpub\wwwroot\emap_images and I have reference this via the webserver (IIS) web address as seen in the image below
/customer/servlet/servlet.FileDownload?file=00P6000000elu0LEAQ
hope that helps
GF
0 -
Thanks for the reply. I too have a virtual directory set up in IIS. It is not in the inetpub area, but is on another server. Would that make a difference? This is the link to an image that I can pull up in IE: http://<myserver>/sketches/01-000050--001.png, but when I use that same link in the form designer, it does not come up.
0 -
I've played with this a little more and I got it to work by entering http://<myserver>/sketches/01-000050.png as the Source URI. What I was originally trying to do was enter: http://<myserver>/sketches/ + ParcelId + .png, where ParcelId was a variable passed into the workflow. This i cannot get to work. Do you think something like this is possible? Thanks
0 -
Thanks for the help, that did the trick.
0 -
Hi,
I tried to add an image to the display form in my work flow and it seams to be appear as shown in the below screenshot
Source uri : http://majdoleen-hp/Geocortex/Essentials/REST/sites/Excel01/viewers/V1/VirtualDirectory/Excel.png
GE 4.2
/customer/servlet/servlet.FileDownload?file=00P6000000eluFtEAI
but the image doesn't appear on the Silverlight viewer!
/customer/servlet/servlet.FileDownload?file=00P6000000elzUvEAI
but on the HTML5 it appears properly
/customer/servlet/servlet.FileDownload?file=00P6000000eltgJEAQ
What might be the issue here ?!
Thank you,
Lubna
0 -
I'd suggest debugging the loading of the workflow in the browser using either firebug plugin for firefox, or the Settings > Developer tools, to see what traffic is being passed in the client and there should be an error at the time it tries to load that image in the silverlight viewer? You might want to clear the browser cache first.
0 -
Hi Gareth,
Firstly, I cleared cache for my borwser "Firefox", then I used the developer tool for depugging,for silverlight viewer I found there is an error which is appeared before using the tool which contain the png image is shown in the below screenshot
/customer/servlet/servlet.FileDownload?file=00P6000000eluDNEAY
then I depugging the loading of the workflow, but it didn't return any errors!
I don't have experience about depugging but the only error I had is shown in the previous screenshot, and I don't know if it relaterd to my issue
Thanks,
Lubna
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
7 Kommentare