I have been trying to implement various features of Open UI and yesterday it was turn of Portlets. As per the bookshelf with Siebel Open UI it is possible to display Siebel Views and Applets in external applications using Siebel SWE API and a new parameter called IsPortlet. As @lex has demonstrated this feature in this post it works.
I wanted to give it a real life test in order see how far we can go with this feature. So, I fired my local running Sample Open UI (in chrome) and in the other tab I entered the following URL
And sure enough Opportunity List Applet was visible along with my Pie Chart that I had described in the last post.
Operations like Query, New worked but I had to use the buttons, the keyboard shortcuts such as ATL+Q (Query), CTRL+B (Copy) didn’t work. To my Surprise even the drilldowns worked
Now was the time for a real time test for which, I setup a local environment using WAMP then setup simple page to mimic a real life scenario. As I understood there are two ways to include Siebel View and Applets.
- jQuery – Load
First I setup a simple page with following code
<div id=”siebelapplet” style=”height:500px; width:940px”>
Nothing appeared!!! Looking at the console tab for Chrome displayed these errors
Since the Open UI uses AJAX call to drive Open UI functionality and they are not permitted across domain you get this error. Using the second approach through jQuery load function also resulted in same Cross Domain error
This behavior has been identified as a product defect in 184.108.40.206 and workaround is available to make it work if ports are same and only domain is different but no solution if the ports are different. The product defect is suppose to be fixed in 220.127.116.11.
Have you tried to implement this feature? Please share the experience.