GeeKs Blogging @ dotCOM

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

Siebel – Fetch Active view properties

by Nitin Jain



Hi,

Working on a typical requirement recently, I came across a need to fetch the properties from the user’s active view. This was an attempt to recognize the user, and the details about the Siebel view/screen he was in.

On research we can see that there are a number of Application level methods which we have at our disposal.

We see that we can get the active Business Object name using the format:
TheApplication().ActiveBusObject();

Also, the active view name may be fetched using:
TheApplication().ActiveViewName();

The Login Id of the user logged in may be fetched using:
TheApplication().LoginId();

The Name of Logged in user (the one that is typed into the Login box) may be fetched using:
TheApplication().LoginName();

The Position ID may be fetched using:
TheApplication().PositionId();

The position name of the user logged in may be fetched using:
TheApplication().PositionName();

.. and maybe some more, in case I missed out on any.

However, this is very limited information (though may be sufficient for some requirements). More so, if we notice, the information is mostly User oriented rather than being Siebel session oriented.

We will explore further if there is a way to get more detailed information of the current view. Even simple topics turn into series of posts. There is so much to explore and share in Siebel..!! :-)

  • Twitter
  • Digg
  • Facebook
  • LinkedIn
  • Delicious
  • FriendFeed
  • Gmail
  • Hotmail
  • Multiply
  • MySpace
  • Yahoo Buzz
  • Yahoo Mail
  • Share/Bookmark

Related posts:

  1. Siebel – Fetch Active view properties – II We discussed about fetching the values from the active view...
  2. Siebel – Fetch Active view properties – III I will discuss a practical example, and the corresponding Inputs...
  3. Siebel Assets List view – Performance issue / Cannot display records Assets Screen Load is a major problem in Siebel, and...
  4. Siebel – Popup Update Only Hi all, I was working with Siebel Multi Valued Links...
  5. Siebel – ActivateField() split wide open In Siebel, we generally tend to use the fields on...
  6. Siebel – Forcing User Logoff Hi all, Somebody recently asked me if there is a...
  7. Siebel – Merge Records Functionality How many times have we realized that there are multiple...

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



This entry was posted on Wednesday, July 22nd, 2009 at 1:40 PM 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”

  1. Denis Mittakarin says:
    August 7, 2009 at 8:30 PM

    One thing I’d like to add here is a note about Integration.
    We had a requirement to refresh (ExecuteQuery()) a bc after a record was written. Lets call this BC-A. Initially we simply had some code in the WriteRecord() event using ActiveBusObject().
    We also had an integration piece that was accessing BC-A using workflow. As we all know, when defining a workflow we define a Business Object.
    What happened is that when the workflow ran, the business object defined did not include all of the bcs that were defined on BC-A’s script. So what we had to do is first determine if we were on the correct view. For this we used ActiveViewName(). But then what we used to determine the correct BO was to use this.BusObject() which will determine the bc’s BO.
    This approach made sure we were accessing the BC’s business object and not the Workflow’s business object.

    Hope I was clear and not too confusing. The gist is that you may need to use this.BusObject() in some cases as I did.

  2. Nitin Jain says:
    August 8, 2009 at 2:22 PM

    I understand. Nice tip, Denis!

    This problem would come up when you are trying to access a BO different from the one defined on Workflow Definition. I generally used a different kind of solution in this case. Let’s sum it all up:

    1) Use this.BusObject() in script in this case, as suggested by Denis.
    2) Use a sub-process within the workflow if you want to work on a different BO. You can avoid scripting this way.
    3) Don’t use a BO on the Workflow Definition at all, unless absolutely necessary. This works just as well. :-)

    Thanks for sharing, Denis. Cheers!

Leave a Reply

Click here to cancel reply.


« Siebel – Automating Merge Records by script – II
Siebel – Fetch Active view properties – II »



  • 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


  • Subscribe

    • Entries (RSS)
    • Comments (RSS)
  • Daily Dilbert

    •          
  • Categories

    • Admin Notifications (9)
    • Business Intelligence (2)
      • Actuate (2)
    • CRM (91)
      • CRM News (3)
      • Sage Software / ACT! (1)
      • Siebel CRM (85)
    • EAI (2)
    • FUN 'n' FROLIC (4)
    • Hot Technologies (1)
    • IT News (34)
    • Meet the Author (8)
    • ORACLE (5)
      • Database (2)
    • Product Demostrations (5)
    • Uncategorized (3)
  • Tag Cloud

    Actuate 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 Logging Login Microsoft ORACLE Performance problems Product Defect Product Demostrations Scriptless solutions Security Server Siebel Siebel Secrets SOA SRF Tips Tools Tricks Tutorials User Property Workarounds workflows



  • Archives

    • 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
    • Nitin Jain
    • Prachi Sharma
    • Renuka Ankam
    • Vikas Luthra
  • Administrators

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

Fresh Ideas

  • Siebel - Unable to login to mobile client
  • Google Advertising Chrome now?
  • Oracle + Sun : New Download Site
  • Oracle buys Convergin
  • Google goes down??
  • Cloud Computing : Plain and Simple
  • Google advertising its Search??
  • Fastest Web Application yet??
  • Google gives words a new meaning
  • Managing Intellectual Properties

Just Said

  • Yogesh on Siebel EIM – Custom table mapping
  • Nitin Jain on Siebel – Unable to login to mobile client
  • leo on BI – Actuate Reports in PDF format in Siebel
  • Sanny on Siebel Server Architecture – an Introduction
  • Ranjith R on Siebel – Autosave Opportunity data – Sample Code
  • uberVU - social comments on Fastest Web Application yet??
  • Nitin Jain on Fastest Web Application yet??
  • James Arrington on Fastest Web Application yet??
  • Jonathan on Fastest Web Application yet??
  • Nitin Jain on Fastest Web Application yet??

Most Commented

  • Siebel - SIA BC Utility Service - Loop multiple records
  • Siebel - Adding License Keys to Sample
  • Siebel - Popup Update Only
  • Siebel - Reading data directly from Siebel SRF
  • Siebel - Installer hangs midway
  • Siebel - Looping multiple records - Update records
  • Siebel - Automatic User Logout
  • Nitin Kumar Jain
  • Siebel - Scrolling between records - UP and DOWN
  • Fastest Web Application yet??

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).