Siebel Open UI

Siebel Open UI Topics -


Get Profile Attribute - GetProfileAttr

Code: SiebelApp.S_App.GetProfileAttr()

Usage:

The SiebelApp.S_App.GetProfileAttr() function appears to be related to Siebel application development. However, without more specific context, it's challenging to provide a full explanation of this function. Siebel is a customer relationship management (CRM) software developed by Oracle, and this function might be part of its scripting or customization capabilities.

Here's a general breakdown of what this function's name could mean:

  • SiebelApp: This likely represents the Siebel application itself, and SiebelApp is commonly used to access various functionalities within the application.

  • S_App: This could refer to the Siebel application object or module responsible for handling application-level operations.

  • GetProfileAttr(): This portion of the function name suggests that it's used to retrieve some attribute or data related to user profiles within the Siebel application.

Example: SiebelApp.S_App.GetProfileAttr('AccountNumber');







Set Profile Attribute - SetProfileAttr

Code: SiebelApp.S_App.SetProfileAttr('attb','value')

Usage:

It looks like you're using a scripting function within the Siebel application to set a profile attribute. Let me break down the function:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • SetProfileAttr('attb','value'): This part of the code is setting a profile attribute with the name 'attb' to the value 'value'. In Siebel scripting, this is a common way to customize user profiles or store user-specific data.

Here's what this line of code does in more detail:

  • SetProfileAttr: This is a function or method used to set a profile attribute in the Siebel application.

  • 'attb': This is the name of the attribute you want to set or modify.

  • 'value': This is the value you want to assign to the attribute 'attb'.

So, when this line of code is executed, it sets the profile attribute with the name 'attb' to the value 'value' within the Siebel application.

Example:SiebelApp.S_App.SetProfileAttr('AccountNumber','AC453655');







Get Controls - GetControls

Code: SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetControls()

Usage:

It appears that you're working with Siebel scripting to retrieve controls within a specific applet. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetControls(): Finally, it retrieves the controls within the specified applet. Controls in Siebel represent various user interface elements like buttons, fields, and so on.

Example: SiebelApp.S_App.GetActiveView().GetAppletMap()['My Billing Applet'].GetControls();





Get Selection - GetSelection

Code: SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetSelection()

Usage:

It appears that you're using Siebel scripting to retrieve the selection within a specific applet. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetSelection(): Finally, it retrieves the selection within the specified applet. This typically refers to the selected records or items within the applet.

Example: SiebelApp.S_App.GetActiveView().GetAppletMap()['My List Applet'].GetSelection();






Get Recordset - GetRecordSet

Code: SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetRecordSet()

Usage:

It seems like you're working with Siebel scripting to retrieve a record set within a specific applet. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetRecordSet(): Finally, it retrieves the record set within the specified applet. A record set typically contains the data or records displayed in the applet.

Example: SiebelApp.S_App.GetActiveView().GetAppletMap()['My Billing List Applet'].GetRecordSet()






Applet FullId - GetFullId

Code: SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetFullId()

Usage:

It appears that you're working with Siebel scripting to retrieve the full ID of a specific applet within the active view. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetFullId(): Finally, it retrieves the full ID of the specified applet. The full ID typically includes various hierarchical identifiers that uniquely identify the applet within the Siebel application.


Example:

SiebelApp.S_App.GetActiveView().GetAppletMap()['My Account Applet'].GetFullId();

var app = SiebelApp.S_App.GetActiveView().GetAppletMap();
for(var key in app){
    console.log(key,app[key].GetFullId(),"->"+app[key].GetBusComp().GetName());
}







Control Input Name - GetInputName

Code: 

SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetControls()['control'].GetInputName()

Usage:

It appears that you're working with Siebel scripting to retrieve the input name of a specific control within a particular applet. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetControls(): Within the specified applet, it's retrieving a collection of controls. Controls in Siebel represent various user interface elements like buttons, fields, and so on.

  • ['control']: Inside the controls collection, it seems to be referencing a specific control by its name, which is represented as 'control'.

  • .GetInputName(): Finally, it retrieves the input name of the specified control. The input name typically refers to the name attribute of an HTML input element, which can be important for scripting purposes, especially when working with form elements.


Example:

SiebelApp.S_App.GetActiveView().GetAppletMap()['My List Applet'].GetControls()['Account Status'].GetInputName()








JQuery Get Control Input Name - GetInputName
Code: 
$('[name="'+SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetControls()['control'].GetInputName()+'"]')

Usage:

It appears you are using JavaScript or jQuery code to select an HTML element based on the input name obtained from Siebel scripting. Let's break down the code:

  • $('[name="..."]'): This is a jQuery selector. It selects an HTML element by its name attribute. The part inside the double quotes, "...", is where you insert the value you want to match for the name attribute.

  • SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetControls()['control'].GetInputName(): This part of the code retrieves the input name of a specific control within a particular applet using Siebel scripting, as explained in your previous message. The GetInputName() function is used to obtain the name of the control.

So, this line of code combines both JavaScript/jQuery and Siebel scripting to dynamically select an HTML element based on the input name obtained from Siebel. The resulting selector will target an HTML element whose name attribute matches the value returned by GetInputName().

Example:

$('[name="'+SiebelApp.S_App.GetActiveView().GetAppletMap()['My Acct Applet'].GetControls()['Account Number'].GetInputName()+'"]')







Applet Query Execute - InvokeMethod('ExecuteQuery')

Code: 
SiebelApp.S_App.GetActiveView().GetAppletMap()['My Applet'].InvokeMethod('ExecuteQuery')

Usage:

It looks like you're using Siebel scripting to invoke a method named 'ExecuteQuery' on a specific applet within the active view. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .InvokeMethod('ExecuteQuery'): Finally, it invokes the method named 'ExecuteQuery' on the specified applet. This method likely triggers a query operation to fetch or refresh data within the applet.

Example:

SiebelApp.S_App.GetActiveView().GetAppletMap()['My Acct Applet'].InvokeMethod('ExecuteQuery')









Applet Refresh - InvokeMethod('RefreshBusComp')

Code: 
SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetBusComp().InvokeMethod('RefreshBusComp')

Usage:

It looks like you've provided a piece of script related to Siebel Open UI. This script appears to be using Siebel Open UI's JavaScript API to interact with a specific applet and its associated business component. Here's a breakdown of what this script is doing:

  1. SiebelApp.S_App.GetActiveView(): This part of the script gets the currently active view within the Siebel application.

  2. .GetAppletMap()['Applet']: It accesses the applet map for a specific applet named 'Applet' within the active view.

  3. .GetBusComp(): This method retrieves the business component associated with the applet.

  4. .InvokeMethod('RefreshBusComp'): Finally, it invokes a method called 'RefreshBusComp' on the business component, which presumably refreshes or reloads the data in the business component.

This script is likely used for customizing the behavior of a specific applet within a Siebel Open UI application, perhaps to trigger a data refresh or update when a certain action is performed.


Example:
SiebelApp.S_App.GetActiveView().GetAppletMap()['My Applet'].GetBusComp().InvokeMethod('RefreshBusComp')









Applet Set Field Value - SetFiledValue('name','value')

Code:

 SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetPModel().Get('GetBusComp').SetFiledValue('name','value')

Usage:

 It seems like you're working with Siebel scripting to set a field value within a Business Component (BusComp) associated with a specific applet. Let's break down the code:
  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetPModel(): This part of the code appears to be accessing the Presentation Model associated with the applet. The Presentation Model (PModel) often handles the interaction between the user interface and the underlying data.

  • .Get('GetBusComp'): Within the Presentation Model, it's retrieving a value associated with 'GetBusComp'. This likely represents the Business Component (BusComp) associated with the applet.

  • .SetFieldValue('name','value'): Finally, it's setting a field value within the Business Component. It sets the field with the name 'name' to the value 'value'.


Example:

SiebelApp.S_App.GetActiveView().GetAppletMap()['My Applet'].GetPModel().Get('GetBusComp').SetFiledValue('name','NTR')



Applet Write Record - WriteRecord

Code: 

SiebelApp.S_App.GetActiveView().GetAppletMap()['Applet'].GetPModel().ExecuteMethod('InvokeMethod','WriteRecord')

Usage:

It appears you're using Siebel scripting to execute a method named 'WriteRecord' on a Business Component associated with a specific applet within the active view. Let's break down the code:

  • SiebelApp: This represents the Siebel application.

  • S_App: This likely refers to the application object or module responsible for handling application-level operations.

  • GetActiveView(): This function is used to retrieve the active view within the Siebel application.

  • .GetAppletMap(): After getting the active view, this code accesses the applet map associated with that view. The applet map is a collection of applets within the view.

  • ['Applet']: Inside the applet map, it appears to be referencing a specific applet by its name, which is represented as 'Applet'. This allows you to target a particular applet within the view.

  • .GetPModel(): This part of the code appears to be accessing the Presentation Model associated with the applet. The Presentation Model (PModel) often handles the interaction between the user interface and the underlying data.

  • .ExecuteMethod('InvokeMethod', 'WriteRecord'): Finally, it executes the method named 'WriteRecord' on the Presentation Model. This method call is used to perform specific actions, such as writing the record associated with the Business Component to the database.



Example:

SiebelApp.S_App.GetActiveView().GetAppletMap()['My Applet'].GetPModel().ExecuteMethod('InvokeMethod','WriteRecord');







PR File Function Call - SiebelAppFacade.PRFileName.prototype.functionName

Code:

Calling From
SiebelAppFacade.PRFileName.prototype.functionName(data.bsOut, ['ResultSet'])

Function in another file
PRFileName.prototype.functionName = function (outPS, oArr) {}

Usage:

It seems you're sharing code snippets related to Siebel scripting. Let's break down what's happening:
In the first code snippet:
SiebelAppFacade.PRFileName.prototype.functionName(data.bsOut, ['ResultSet'])

This code is calling a function named functionName on an object or prototype PRFileName in the Siebel application. It's passing two arguments: data.bsOut and ['ResultSet'].


In the second code snippet:

PRFileName.prototype.functionName = function (outPS, oArr) {}

This code defines the functionName function on the prototype of the PRFileName object. It takes two parameters: outPS and oArr.

These code snippets are part of a larger script or application structure. The first snippet is making a function call, likely expecting to execute some functionality defined in the second snippet.

Comments

Popular posts from this blog

Siebel Web Service session management

Siebel CRM Overview

Siebel all user properties /different object types/ Field User Property