How To Select the Vanity URL for Blobs If there is More Than One
Last updated on JULY 07, 2017
Applies to:Oracle WebCenter Sites - Version 22.214.171.124.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>
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms