My Oracle Support Banner

Image Inside a Site Studio (SS) Wysiwyg Element not Rendering with a WebCenter Content (WCC) Presenter Template (Doc ID 2124868.1)

Last updated on MAY 14, 2018

Applies to:

Oracle WebCenter Content - Version and later
Information in this document applies to any platform.


In a Content Presenter template, to render a Site Studio Wysiwyg Element Definition, an image inserted into this Wysiwyg element is rendering correctly in environment A and is failing in environment B.

In environment A, source of a  Data File content with an image is as follows:

<img src="[!--$wcmUrl('resource','bpmad116200008789')--]" alt="Yarına Hazır İşletmeler Anlatıyor" />

This code generated the following HTML code at runtime:

<img src="http://bpmad1.vodafone.local/cs/idcplg?IdcService=GET_FILE&amp;dDocName=bpmad116200008789&amp;RevisionSelectionMethod=LatestReleased" alt="Yarına Hazır İşletmeler Anlatıyor">


In environment B, source of a Data File with an image is as follows:

<img alt="aktarım eklentisi" src="[!--$wcmUrl('rendition','vftr-006753','web')--]" />

The code is not generated to HTML code on runtime. The following code is generated on browser:

<img alt="aktarım eklentisi" src="${wcmUrl('rendition', 'vftr-006753/web')}">

Parameters of $wcmUrl method is different in each environment.  First parameter is 'resource' in environment A, and 'rendition' in environment B. 

The method is not working in environment B.  How can this be resolved? 


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.