Home | Oracle ECM Home Page  | Oracle ECM Documentation  | Oracle ECM Downloads  | Oracle ECM Forums  | Yahoo Intradoc Users Group Feed your aggregator (RSS 2.0)  
  Oracle Fusion ECM Blog. Are you "kuh n-tent" with your "kon-tent"?
 
 
# Monday, October 13, 2008

When oracle released the 10.1.3.3.3+ site studio product they delivered a new contributor application along with new data file formats. Inside these data files the structure has changed from previous versions. Here’s an example of the new format:

<?xml version="1.0" encoding="UTF-8" ?> 
<wcm:root xmlns:wcm="http://www.stellent.com/wcm-data/ns/8.0.0" version="8.0.0.0">
    <wcm:element name="HeaderImage"><img border="0" alt="Wide Image" src="[!--$ssWeblayoutUrl('groups/public/documents/web_assets/wideimage.gif')--]" /></wcm:element> 
</wcm:root>

As you can see a near full path is embedded in the xml file. In this case if I were to change the security group of this image from public to secure the page using this data file would render with a missing image. The same is also true of the doc type and/or account. What can we do about this?

The documentation mentions that the function ssWeblayoutUrl() is able to work with the dDocName: This script extension is used to determine the full web address of a file from either the path or dDocName. This is most typically used for paths to images in data files.

Great. It turns out that through the use of a configuration variable added to config.cfg or through the admin server under general configuration week in control what gets embedded in data files. Note: this is available in build 251 or higher.

SSWeblayoutUrlUsesDocNames=true

On a related note, check out another blog post starring ssWeblayoutUrl over at Web Monkey Magic.

http://webmonkeymagic.blogspot.com/2008/09/surprise-ssweblayouturl.html

Monday, October 13, 2008 8:49:23 PM (Central Daylight Time, UTC-05:00)  #    Comments [0]   Oracle WCM  | 
Comments are closed.
Copyright © 2009 Jason Stortz. All rights reserved.