GeeKs Blogging @ dotCOM

Let's share…
  • Home
  • About
  • Contribute
  • How To – FAQs
  • Disclaimer
  • Terms & Conditions
24 Jul 2009

Siebel – Fetch Active view properties – III

by Nitin Jain


I will discuss a practical example, and the corresponding Inputs as a usage example for the “FINS Data Transfer Utilities”. If you have not already done so, I would suggest going through the previous posts for a better understanding:
Siebel – Fetch Active view properties
Siebel – Fetch Active view properties – II

I will share a practical usage example for the above vanilla BS here.
Launch your Siebel Client. Navigate to the screen,
Administration – Business Services -> Scripts
Press ‘New’. I chose the name, “04 Nitin Test” for my Test BS.

Write a small piece of code in the method, “Service_PreInvokeMethod”, and the language as eScript.

Sample code is as follows:

function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{

var Input_ps = TheApplication().NewPropertySet();
var Output_ps = TheApplication().NewPropertySet();

var bs_FINS = TheApplication().GetService(“FINS Data Transfer Utilities”);
bs_FINS.InvokeMethod(“GetActiveViewProp”, Input_ps, Output_ps);

TheApplication().RaiseErrorText(Output_ps.GetProperty(“<output arg name>”) );

return (CancelOperation);
}

You can replace the with the desired parameter one by one, to see the corresponding output. As a sample, I got the following outputs in my Siebel setup:

Output Argument Value
BusinessObject Business Service
IsAdminMode N
Screen  
ThreadApplet Business Service Test List Applet
View Business Service Test View
ViewModeCode 4

 

There are two strange observations in the table above.
1) The Output Argument, “Screen” returns NULL. Now, I am obviously within a screen, which has a name. Why is it NULL?

2) It has returned the ViewMode “4″.

A simple Lookup in Siebel Tools F1 help lists the following ViewModes of a view:
SalesRepView (0)
ManagerView (1)
PersonalView (2)
AllView (3)
OrganizationView (5)
GroupView (7)
CatalogView (8)
SubOrganizationView (9)

Notice carefully, 4 is not in the list! :-)



Related posts:

  1. Siebel – Fetch Active view properties Hi, Working on a typical requirement recently, I came across...
  2. Siebel – Fetch Active view properties – II We discussed about fetching the values from the active view...
  3. Siebel Assets List view – Performance issue / Cannot display records Assets Screen Load is a major problem in Siebel, and...
  4. Siebel – InvokeServiceMethod() on Calculated Fields InvokeServiceMethod() is used to invoke Business Services and take values...
  5. Siebel – getMilliseconds() usage Siebel by default displays all dates in the system accurate...
  6. Siebel – SIA BC Utility Service – Loop multiple records This is a vanilla business service which provides an extensive...
  7. Siebel – Automatic User Logout Logging out a user automatically, when the user does not...

Tags: Client, Configuration, Debugging, eScript, Fundamentals, Siebel, Tutorials



For regular updates, enter your email address below. We don't spam, we don't share with others!




This entry was posted on Friday, July 24th, 2009 at 8:29 AM and is filed under Siebel CRM. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “Siebel – Fetch Active view properties – III”

  1. sriram says:
    August 26, 2009 at 10:43 AM

    Hi Nitin,
    As i was new to site i posted my question to this unrelated content.
    Thanks,
    S.Sriram

  2. Nitin Jain says:
    August 26, 2009 at 11:52 PM

    That is fine, Sriram.
    In any case, we have provided an easy option, “TALK TO US” section on the top right side of GeeksBlogging@dotCOM to help everybody.

    The direct link is..
    http://geeksbloggingat.com/contactus.html

    Cheers!

Leave a Reply

Click here to cancel reply.


« Oracle 11g Certification coming soon
Siebel – Merge Records – Checklist »



  • Admin Controls

    • Log in
  • Talk to us

    • Bouquets, brickbats, suggestions, complaints?

    • Click here...
  • Authorships

    • We are currently looking out for active authors. Are you willing to contribute?

    • Please click here

    • Everyone's invited..
  • Subscribe by Email


    • For regular updates, enter your email address below. We don't spam, we don't share with others!

  • Sponsors

  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Siebel Bookshelf

  • Daily Dilbert

    •          
  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (115)
      • CRM News (6)
      • Sage Software / ACT! (1)
      • Salesforce.com (2)
      • Siebel CRM (103)
    • EAI (2)
    • Events (1)
    • FUN 'n' FROLIC (6)
    • Hot Technologies (7)
    • IT News (47)
    • Meet the Author (9)
    • ORACLE (14)
      • Database (2)
      • Oracle Fusion Applications Stack (8)
    • Product Demostrations (5)
    • Uncategorized (4)
  • Tag Cloud

    Admin Admin Notifications Applet Author Introductions Business Component Calculated Function Certification CFG file Client Configuration Critique CRM Database Debugging EAI EIM eScript Fundamentals Fusion Middleware Google IT News License Login Microsoft ORACLE Oracle Fusion Applications Performance problems Product Defect Product Demostrations Salesforce Scriptless solutions Security Server Siebel Siebel Secrets SOA Tips Tools Tricks Tutorials Upgrade User Property Workarounds workflows



  • Archives

    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • November 2010
    • August 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
  • Authors

    • Ankit Bhardwaj
    • Ashish Kaul
    • brijesh
    • Himanshu Bajpai
    • Madhvi Arora
    • nanpats
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

    • geeksblogging@gmail.com
    • admin@geeksbloggingat.com
  • Sponsors

Fresh Ideas

  • Login Failed in Dedicated Web Client : MVF Issue
  • Oracle Fusion Applications price list
  • Research to Development - Fusion Apps Series
  • Oracle ACE Program
  • HCM user Experience through UI - Fusion Apps series
  • "Managing Oracle Fusion Applications"
  • Microsoft *previews* Windows 8 - Part 2 now available !!
  • Let's upgrade Siebel CRM to Fusion Apps "right now" !!
  • Ness Technologies bought out by Citigroup Unit
  • Oracle #1 CRM Applications vendor ??

Just Said

  • Amit Sharma on Siebel – Installer hangs midway
  • Khadijah Mosinski on Salesforce.com not upto the mark?
  • Hamre319 on Highrise Customer Relationship Management
  • Nitin Jain on “Managing Oracle Fusion Applications”
  • zama racha on “Managing Oracle Fusion Applications”
  • Nishant Aggarwal on Siebel – License keys don’t work / are invalid
  • Nitin Jain on Siebel – SIA BC Utility Service – Invoke BC Method
  • Pedro Garcia on Siebel – SIA BC Utility Service – Invoke BC Method
  • Nitin Jain on “Managing Oracle Fusion Applications”
  • Nitin Jain on Microsoft *previews* Windows 8 – Part 2 now available !!

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Installer hangs midway
  • Siebel - Adding License Keys to Sample
  • Siebel - Popup Update Only
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - Automatic User Logout
  • Siebel - EAI Queue - Usage
  • Siebel - Looping multiple records - Update records
  • Siebel - SIS OM PMT Service
  • Siebel Tools hangs when checking out objects

Old Favourites

  • Highrise Customer Relationship Management
  • Siebel - Autosave Opportunity data - Sample Code
  • Siebel - Autosave Opportunity data - The concept
  • Renuka Ankam
  • Siebel - Merge Records - Checklist
  • Siebel - Fetch Active view properties - III
  • Oracle 11g Certification coming soon
  • Siebel - Fetch Active view properties - II
  • Siebel - Fetch Active view properties
  • Siebel - Automating Merge Records by script - II

If you also want to write on GeeksBlogging@dotCOM, click here. Area of Specialization no constraint. Become Famous!


Entries (RSS) and Comments (RSS).