Site Studio 10gR4 External Application Support
By Joe Duane on Mar 09, 2009
Site Studio 10gR4 allows external applications to display and edit web content created and stored within UCM by simply executing two new custom services via http. The two new services are “WCM_PLACEHOLDER” and “WCM_BEGIN_EDIT_SESSION”. Correct usage of these services will allow the designer to include a fully editable Site Studio specific XML Datafile into their application.
Calling the “WCM_PLACEHOLDER” service via http, and passing in the appropriate parameters can return a datafile in a number of different formats. The content that is returned can be embedded into virtually any application. Executing the “WCM_BEGIN_EDIT_SESSION” service via http will launch the Site Studio FCK contributor application, and allow changes to be made to the datafile. Functionality includes, but is not limited to:
1. Viewing datafile content within an external application (HTML/JSP/PHP/ASP etc.).
2. Launching the FCK Contributor from an external application
3. Viewing and editing Dynamically Converted content within an external application
4. Viewing and editing Dynamic Lists/Static Lists from an external application
5. Viewing and editing of Site Studio content within a Portal
PORTAL UTLIZATION RULES:
If the Content Server exists in an environment that can be viewed by the client browser loading the portal, then there should be no issues with executing the services via HTTP.
If the Portal Server has a trusted connection to a Content Server located behind a firewall, the ability to execute the services is limited. In this environment, the client browser would generally makes a call to a JSP on the app server. That JSP would then makes an HTTPRequest to the Content Server to execute the WCM_Placeholder services. The pages returned will more than likely have links to images/CSS/JS assets on the Content Server. When the page loads in the client, it won't be able to see these items, unless a proxy was created that could convert them locally. The forthcoming Site Studio for JDeveloper contains a proxy to address this requirement.