How To Select the Vanity URL for Blobs If there is More Than One
(Doc ID 2013085.1)
Last updated on OCTOBER 15, 2020
Applies to:Oracle WebCenter Sites - Version 184.108.40.206.0 and later
Information in this document applies to any platform.
We have assets that are shared between two sites, A and B.
The assets have a Vanity URL pattern for Blobs, for each site, each with their own webroot, /webRoot_A and /webRoot_B. E.g. /WebRoot_A/image.jpg and /WebRoot_B/image.jpg
When we open a page on site A (/WebRoot_A/index.html), the page sometimes contains links to those images for site B (/WebRoot_B/image.jpg)
Is there any way to make sure the images for site A use the Vanity URL for site A, and the images for site B use the Vanity URLs for site B?
The used code to render the images is:
<render:getbloburl outstr="imageUrl" c="MyImage_C" cid='<%=ics.GetVar("cid") %>' field='imageAttribute' />
<img src="<ics:getvar name="imageUrl"/>"></img>
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document