When write a new script and save, Siebel tools get stuck
Hi all,
This issue came for me while I was writing a Buscomp Script and due to some issue in the script, Siebel Tools got stuck. I tried to close and reopen Tools, but when ever I go to Edit Server Script of that particular BusComp, again tools get stuck.
So the Solution, which I found is this;
We will take an example of 'Opportunity' Business Component. If we write some bogus script on BusComp_SetFieldValue method, then here is the steps you can resolve the issue.
1. Once tools get stuck, reopen Siebel tools
2. Search for Business Component 'Opportunity'
3. Go to 'BusComp Server Script' (By default this will not appear in object explorer. You will have to enable it from View --> Options --> Object Explorer)
4. Select the particular record for 'BusComp_SetFieldValue'
5. Click on the 'Script' field and edit the script to remove the issue or totally delete the script from there and save record
Issue should be resolved... ⏩
Sunday, May 7, 2017
Wednesday, March 22, 2017
Script Not compiling when the object is compiled
This is a very basic functionality. But some one can spend hours searching in the web for a solution.
The issue here is when we add/edit a server script and we compile the object, (Applet/Business Component etc.) the server script won't get compiled. Also when we try to exit Siebel Tools, we get a warning similar to below;
The following scripts have been saved but not compiled into the SRF. Press "OK" to exit. Press "CANCEL" to stop exiting Siebel Tools
This is a very basic functionality. But some one can spend hours searching in the web for a solution.
The issue here is when we add/edit a server script and we compile the object, (Applet/Business Component etc.) the server script won't get compiled. Also when we try to exit Siebel Tools, we get a warning similar to below;
The following scripts have been saved but not compiled into the SRF. Press "OK" to exit. Press "CANCEL" to stop exiting Siebel Tools
This can happen specially in Opportunity Business component, BusComp_PreSetFieldValue method, as there is a vanilla script added and when we try to modify code.
The cause of the issue is that, the inactive flag is on for this script.
To fix the issue, You have to go to Business Component --> Select the required business component ('Opprtunity' in above case). Then go to BusComp Server Script (You have to make this visible from View --> Options --> Object Explorer) and remove the inactive flag
Compile the object and it will work.
Subscribe to:
Posts (Atom)