Monday, October 31, 2011

While Exporting you are getting more records

Ques: While exporting we are getting more records than expected.
Ans:We got a Defect today , we are getting more records while exporting.In List applet we are having 27 records but while doing export we are getting much more than that.

So how to Resolve??
So what we found is , we have written a Script on Applet Load and that is Named Search Spec which is causing that issue.
So as per as our requirement we can't remove that as well.So how to resolve Export issue.
So to resolve this we need to write a Script on Applet_PreInvoke
Here is the Script:

function WebApplet_PreInvokeMethod (MethodName){ if (MethodName == "ExportQuery") { this.BusComp().SetNamedSearch("Activties", "") this.BusComp().SetSearchExpr("[Category] = LookupValue('TODO_TYPE', 'Document')"); } return (ContinueOperation);}

Note: The Named Search spec should be same as of Which we have in Applet Load.
if the applet Load is having other search criteria then we need to include the same in the script of PreInvoke

Issue Resolved :)
Happy Learning

Wednesday, September 21, 2011

How to Clear Cookies using batch File in Siebel

Hi All,
Requirement :How to clear cookies & Temp File in siebel.
In Siebel we are selecting a LOV value and after selecting the LOV value click on GO button then it will open a Shopping cart portal. The issue is that after adding the item your cart it will show you the Amount.But if you closed the shopping cart window and open it again it is showing the same amount this is the issue it should not show the previous amount.

Solution: We have to create a batch File with the following statement:

RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255
pause@echo off"%PROGRAMFILES%\Internet Explorer\IEXPLORE.EXE" http://www.yourshoppingportalwebsite.com

save the text file with .bat eextension. eg Test.bat
Now we have the save the file in particular Drive or Folder.For eg i saved @ C:\Test.bat
Then we have to invoke the bat file using script:
Browser Script:
var shell=new ActiveXObject("WScript.Shell");
shell.Run("C:\\Test.bat",1);

Server Script:
Clib.system("C:\\Test.bat");

Note: I tried Clib.system() in browser script but it didn't work.
Happy Learning :-)

Monday, January 24, 2011

Search Ctrl+Shift+F , Search feauture is disabled in 8.0

Hi All,
Today i come across with a issue realated to search.We face this issue while upgrading from 7.8 to 8.0.
Issue: While pressing the Ctrl+Shift+ F button in siebel application we are getting an Error:
" The Responsibility of user 'SADMIN' doesnot allow accessing 'Search Looking View'.(SBL-DAT-003329)"

Now What to Do?
Resolution: The Issue was resolved when i added the Screen " Search View Dummy Screen' under the Screen Menu Item of the application that we are using.
Steps:
1) In Tools Goto the Objects :Application
2) Select you Customized Appliaction
3) Go the Screen Menu Item
4)Lock the Application
5) Create a new record under the Screen Menu Item
6)Screen: Search View Dummy Screen
7)Unlock the Objects
8) Compile it

Now you can see the difference..Its working Ctrl+Shift+F :)

Happy Learning :)

Monday, January 3, 2011

Coming Soon.. Siebel Upgrade from 7.8 to 8.0

Hi All,
Very soon i will update this blog process of Siebel upgrade from 7.8 to 8.O.
Its not specifinc to 7.8 to 8.0..you will follow these steps in all the the upgrade from 7.5.x to 8.x.x.
Most of the thing remain same. Except few if you are upgrade from 7.5 or 7.7 to 8.x.x.

So have a eye on this blog..i will post it soon.

Thanks,
Manish Mamgain