Monday 16 December 2013

Query Issue in Siebel Open UI 8.1.1.11

There is an issue with Siebel open UI 8.1.1.1 . When you query a record, OpenUI displays records. But you cannot drill-down or edit that record, even though you have all privileges.

steps to reproduce.
got to any list applet, Click on query, Press "Enter" try to drill-down. This drill-down works only if that record is current record.
or
Try to navigate by clicking next record, you cannot, you have to use next/previous button

Temporary Solution:
Instead of pressing enter click on "Go" Button.




Thursday 12 December 2013

Custom File Upload Applet Based On Class CSSSWEFRImpExp / CSSSWEFRImpExp Fails

We have an Import Button in an Applet, on clicking that button, a small popup applets comes and we can upload CSV which is to be imported in to parent applet. This functionality works well in HI mode. But this functionality fails in OpenUI.
Oracle support says this issues addressed in 8.1.1.11, but still I am getting error.

We can Implement this feature with some tricks.

lets create a button on applet and give method name as "FilePopup". And make sure that CanInvoke is true for this method.



function WebApplet_PreCanInvokeMethod (MethodName, &CanInvoke)
{
    if(MethodName == "FilePopup")
    {
            CanInvoke="TRUE";
            return (CancelOperation);
    }
    return (ContinueOperation);

Now open Applet Browser script. 


function Applet_PreInvokeMethod (name, inputPropSet)
{
    switch(name)
    {
        case "FilePopup":
        var ShowModalOptions= "dialogHeight:150px;dialogLeft:100px;dialogWidth:350px;scrollbars:no";
        var intRet = theApplication().ShowModalDialog ("FileImport.htm", "", ShowModalOptions);
       
        var Bc = this.BusComp();
        var csvval=intRet.split("|");
       
        for(var j=0;j<csvval.length-1;j++){
            this.InvokeMethod("NewRecord");
            var csvvalue=csvval[j].split(",");
            Bc.SetFieldValue("First Name",csvvalue[0]);
            Bc.SetFieldValue("Last Name",csvvalue[1]);
            Bc.SetFieldValue("Age",csvvalue[2]);
            Bc.SetFieldValue("Sex",csvvalue[3]);
        }

        return ("CancelOperation");
        break;

        default:
        return ("ContinueOperation");
        break;
    }
    return ("ContinueOperation");
}


Next step is creating an HTML file. Copy the below code and save it as  "FileImport.htm"
in Webserver as well as siebel server. ( \Client\PUBLIC\ and \siebsrvr\WEBMASTER\ )

<html>
</head>
<script language="javascript" src="23030/scripts/3rdParty/jquery.js"></script>
<script>
$(document).ready(function(){

$("#filename").change(function(e) {
var ext = $("#filename").val().split(".").pop().toLowerCase();

if($.inArray(ext, ["csv"]) == -1) {
alert('Upload CSV');
return false;
}

if (e.target.files != undefined) {
var reader = new FileReader();
reader.onload = function(e) {
var csvval=e.target.result.split("\n");
var inputrad="";
for(var j=1;j<csvval.length-1;j++){
    var csvvalue=csvval[j].split(",");
    for(var i=0;i<csvvalue.length;i++)
    {
    var temp=csvvalue[i];
    if(inputrad==""){
         inputrad=temp+"";
    }else if(i!==0){
         inputrad=inputrad+","+temp+"";
    }else{
        inputrad=inputrad+""+temp;
    }
   
   
    }
    inputrad =inputrad+"|";
}

window.returnValue = inputrad;
return inputrad;
};
reader.readAsText(e.target.files.item(0));

}


});
$("#import").click(function(){
    self.close();
});
})
</script>
</head>
<body>
<input type="file" name="filename" id="filename">
    <div id="csvimporthint_1">
        <table border="1" id="csvimporthint">
        </table>
    </div>
<input type="button" id="import" value="import">

</body>
</html>

compile applet and run GenB script.
Click on Import button and test this functionality.

How to add custom JavaScript files in Siebel OpenUI 8.1.1.11

Siebel OpenUI 8.1.1.11 comes more more systematic way to manifest the custom JavaScript.
In the Administration level, we have options to add files as well as map those files with applets/views/Applications.

First we need to add our custom files in Manifest files

Now we can map those files with our Application /Applet


Thursday 28 November 2013

Siebel Open UI : Migrating a renderer from 8.1.1.10 to 8.1.1.11

Siebel Open UI : Migrating a renderer from 8.1.1.10 to 8.1.1.11

This tutorial is all about how to migrate code from 8.1.1.10 to 8.1.1.11


thanks to  Duncan Ford

Tuesday 19 November 2013

Internet Explorer 7 (IE7) no longer certified with My Oracle Support and Cloud Support Portal after April 4, 2014

 Oracle stops supporting IE7

"On April 4, 2014, Oracle Support will remove Internet Explorer 7 (IE7) from the My Oracle Support and Cloud Support portal certified browser list. It is important that you make the transition to a more current version of Internet Explorer prior to April 4, 2014.

We recommend that you review the “Supported Browsers” link for a list of My Oracle Support and Cloud Support portal certified browsers. When upgrading your browser, it is important to note that Internet Explorer 11 (IE11) is not yet certified with My Oracle Support and Cloud Support Portal. Newer versions of supported browsers are usually certified within six months from their release date.

If you have any questions or feedback, please log into My Oracle Support and use the "Contact Us" link located in the upper right hand corner."

Tuesday 5 November 2013

White screen issue after patching openUI (8.1.1.11)

Some of developers getting white screen after patching open UI, and error console says.
 
Message: Object doesn't support this action
Line: 38
Char: 799
Code: 0
URI:
http://192.168.1.104/callcenter_enu/23030/scripts/siebel/navctrlmngr.js?_scb=

Oracle support web came with a solution for this problem.

Cause
FP 8.1.1.11, aka Innovation Pack 2013, contains many changes for the Siebel Open UI. When the pre-8.1.1.11 SRF is used for Siebel Open UI, it cannot perform the operation correctly and the above error is shown

Solution

Please download the new SRF to replace the pre-8.1.1.11 SRF as below.

1) Login to Oracle Software Delivery Cloud, aka edelivery (https://edelivery.oracle.com/)

2) Search Siebel CRM product with the following criteria then click "Go" button.
Select a Product Pack: Siebel CRM
Platform: (corresponding platform)

3) Find the description below then select it.
Description: Siebel Industry Applications Innovation Pack 2013 Release 8.1.1.11 Media Pack for "corresponding Platform"

4) Find Siebel Repository Files (SRF) as below and click "Download" button.
Name: Siebel Industry Applications Version 8.1.1.11 Siebel Repository Files
Part Number: V39883-01

5) Downloaded file contains SRF for many languages. Choose the correct one for the system and unzip it to siebsrvr\objects\LANGUGAE folder.
** LANGUAGE should be replaced by the appropriate three letter language code.

Please use
https://support.oracle.com/epmos/faces/SearchDocDisplay?_adf.ctrl-state=2ygn9xguq_9&_afrLoop=59616672061561

Wednesday 9 October 2013

Siebel OpenUI 8.1.1.11 Fix Pack - Features

The next release on 8.1.x is 8.1.1.11. This innovation pack is releasing with lot of features, that is available in non-open UI versions and missed in older open UI versions(8.1.1.9/10)
  • Siebel Mobile Disconnected
  • Customer Facing Sales Applications
  • Partner Facing self Registration
  • Marketing - HTML/Rich Text Editor, Allocation, Calender, Flow Universal Inbox
  • C/OM - Sum totals on list: Contact hierarchy view
  • Sales - Funnel Chart
  • Right-to-left language support
  • List views - Column lock, column resizing, save state
  • Online Help- Searchable, Context sensitive help
  • Personalization, Applet Location/Hide
  • Expression/Rule Designer
  • Outbound email f9/Email Response
  • Calendar Drag/Drop Validation
  • Applet right click menu
  • Bar code toolbar
  • Chat
  • CTI toolbar - Hotelling
  • GANTT Chart
  • Chart program Designer
  • SmartScript -Designer/Player

Thursday 20 June 2013

Benchmark of a Siebel OpenUI Theme from OpenUIThemes.com

In my previous post, I told you about the contact I had with the OpenUIThemes’ staff and said that a test was scheduled.

Well, yesterday, I could get my hands on their themes. My review below, I had access to their Gmail Theme and  every major topic I tested is listed here:

  Design
o   Being a daily user of Gmail as well as a global Google fan, I could feel the impression to work on my desktop using their test machine.

o   The UI is easy to navigate and the visuals are ok.

o   Some menus have changed position (like sitemap and so on) but as a user you don’t want to use this menu every day. In fact thinking again about it, I think that it adds something to user navigation as UI is focused on what will be immediately useful for the Siebel user.

 Performance
o   Performance was fine on this theme, the theme did not contain heavy images but I was on a low-bandwidth connection so for me it’s OK. I don’t know how it would behave with more and heavier visuals (high-definition logo of a company, etc...) but maybe high-bandwidth connection will compensate in this case.

o   Navigation is fluid between the pages and response time is also, even on first connection to the Siebel environment.

o   I didn’t try to make performance-costly operations specifically so I can only say that the UI performed well with basic operations and navigation.

 Compatibility
o   As you can imagine, this is my major concern (as I point out in some articles where I present webkit properties implementation for example), I try to draw attention on this point everytime I can when customizing the OpenUI.

o   So I tried with IE9, Chrome and Firefox (I don’t have Safari and Opera installed so I couldn’t test it with these browsers). They state on theme pages that they support Opera and Safari also but I can’t confirm that.

o   The result is same in 3 browsers I tried. Apparently, they took into account the difficulties to make customization depending on different browsers.

The theme I have tested is OK on design (depends on your taste actually), performance and compatibility as far as I could test it.

So this is a great news to see some companies going along with the OpenUI product expansion. Check it out yourself at http://www.openuithemes.com


Additional note:

Apparently, they also offer Plugins to modify the user experience.
They presented me 2 examples and also offered me to test it for free. They told me that other plugins are like I already did for voice recognition in Siebel OpenUI, mouse hover info, applets layouts changes and so on but I don’t know much more right now.

Monday 17 June 2013

OpenUIThemes, a new company that creates themes for Siebel Open UI

Some days ago I received an email from a Company representative who wanted to introduce me to their concept around Siebel Open UI. Why not? I replied “Ok” and so I joined a video conference with the guy the next day.

Much to my surprise, they had decided to create packaged themes with various look & feel for Siebel Open UI to help other companies customize their Siebel CRM Open UI application.

The idea is very promising I think, as every company has corporate colors and branding that makes its visual identity.

I’ve seen in the past that it’s much easier to implement a new tool, make an upgrade to an existing tool and finally gain user adoption when the users feel that the software was made specifically for their company (visual identity, colors, display, etc… is part of it).

It also seems to go along with Oracle’s strategy with the Open UI (apart from the compatibility benefits).

Here is the URL: http://www.openuithemes.com

At the end of the video conference, I had a look at the code of one of their themes and they also offered me to test it… So I think I will!

Next post I will make a review of this test and share my thoughts.

Monday 27 May 2013

Homepage EditLayout Issue

In Siebel 8.1.1.10, Edit layout is not working. As per their document, no Quick fixes are available for this issue & next version (8.1.1.11) may not fix this issue.

Thursday 25 April 2013

Fixing date field Jumbing in Siebel open UI

There might be some issue with date input field. We need to edit the css files to fix this problem.
I got the same problem in vanila SRF also.

Above image is before selecting/clicking calender Icon

After clicking calender icon. You can see its length is increased.


To solve this probelm, go to
theme-base.css file in your "files" folder.

.mceGridField input.siebui-input-popup {
        max-width: 119px;
    }

Here   max-width: 119px is given as our input filed. If you need more than this width, you can alter this.




Friday 19 April 2013

GetProfileAttr/SetProfileAttr not Working in Siebel 8.1.1.10

In 8.1.1.10 version, SetProfileAttr() has been disabled for HTTP calls as a security fix.
That means if you have a browser scripts uses SetProfileAttr(), it won't work. No change to GetProfileAttr() access.
Oracle disable this "SetProfileAttr()" as a security fix. So enabling this is not recommended.

SetProfileAttr() access can be turned on by setting the server parameter “EditProfileAttr” value to TRUE

Sunday 24 March 2013

Siebel Business Applications Release 8.1.1.10

Oracle just released siebel version 8.1.1.10 . You can download this from edelivery cloud.


Hope that this version will be a solution for all issues that we faced in previous version (8.1.1.9)

Sunday 20 January 2013

adding voice input in siebel openUI :: Physical Render experiement


Please Note: Here we are using a webkit property. That means this feature will work only in google chrome.
Google chrome supports it's own voice search property. We can add this property to our application by adding "x-webkit-speech" in our input fields. Here we can create a physical render and implement this feature.


<!-------------------CODE Begins----------------------------!>

if( typeof( SiebelAppFacade.GoogleVoicePR ) === "undefined" ){
    SiebelJS.Namespace( "SiebelAppFacade.GoogleVoicePR" );
   
    SiebelApp.S_App.RegisterConstructorAgainstKey( "GoogleVoicePRenderer", "SiebelAppFacade.GoogleVoicePR" );
   
    SiebelAppFacade.GoogleVoicePR = ( function(){
       
       
        function GoogleVoicePR( pm ){
            SiebelAppFacade.GoogleVoicePR.superclass.constructor.call( this, pm );
            var controls = this.GetPM().Get( "GetControls" );
            var cntrl = controls[ "Last Name" ];   
            var lastNameCntrl  = cntrl.GetInputName();
            $('input[name="'+lastNameCntrl+'"]').attr("x-webkit-speech","x-webkit-speech");

        }
       
        SiebelJS.Extend( GoogleVoicePR, SiebelAppFacade.PhysicalRenderer );
       
        return GoogleVoicePR;
    }());
}


<!-------------------Code Ends------------------------------!>

Thursday 17 January 2013

Mapping & Finishing customization (Part – 4)



This is our final steps in this customization. Here we are going to Map our custom physical render & Physical Model.  We are validating the EmailAddress field in contact form applet.
We are mapping our Key. Hope you remember our key, that we used to register.


So in tools go to contact  form applet.
Expand Applet user property
1.       Create a new user property Name -> Physical_Render and Render Key as its value (Shown in fig)
Another user property Physical_Model and Model key as its  value.
Compile Object.
2.       Now Copy our code (Physical Render & Physical model )to SCRIPTS->Siebel->custom folder
3.       Open OBJECTS Folder. There you can see “manifest_extensions.map”. Open  this in a notepad or wordpad.  Map our Key with applet.

4.       Open “custom_manifest.xml” in the same folder.
Find  <PLATFORM_KEY_SPECIFIC>
                                <PLATFORM Name="Desktop">
Here we map our physical render
Open a new node and write our file name as shown in fig

Find <KEY_COMMON>
Here we map our physical Model
And map our new key as shown in fig.


Now we finished everything. Make sure that you compiled applet. Clear your browser cache.  And launch application and change your email. Hope everything works well.