Showing posts with label AOL. Show all posts
Showing posts with label AOL. Show all posts

Thursday, 22 February 2018

MVC Architecture

The architecture of the portal UI is based on the Model-View-Control (MVC) design pattern. The MVC paradigm allows you to separate the code that handles business logic from the code that controls presentation and event handling. Each page in the portal is made up of a combination of at least one Model and View, and one or more Controls.

MVC architecture

  • Model classes store the data for a page or page section. A single page might use one or more Model classes, depending on how much of the page data can be shared by other types of pages. A Model defines how data is accessed and set for a given page, including any functions necessary for security or data validation and modification. Models encapsulate calls to the portal server API and also store UI-specific data. Data that is globally accessed by the UI is available from the ActivitySpace object (discussed on the next page). All other data should be stored in a Model.

  • View classes contain HTMLElements and HTMLConstructs that describe how the data from the Model should be displayed to the user. In the portal UI design, DisplayPage objects are used to aggregate View objects to encapsulate all the information needed to render a particular page. Some Views are common throughout the portal and some are specific to certain pages. For example, the banner that makes up the majority of the portal is a common View that defines the color scheme and where the search section will be displayed. In contrast, the View used to create and modify data within a User Profile is specific to the User Profile function and is seen only on that page.

  • Control are actions or sets of actions that are executed when a specific event is triggered. Multiple Controls can be defined within a page, each with its own functional specification. For example, one Control might produce a popup window that allows the user to browse for a specific object and places the selection within the View, and another could save the new data to the Model.

Sunday, 26 February 2017

How to create Concurrent Program in Oracle Applications

Below are simple steps to create
  1. Executable
  2. Concurrent program and then
  3. Attach Concurrent Program with Request Group.
Login as Sysadmin or Application Developer

Create Executable :- 
Navigate to Concurrent > Executable.Define your executable as shown below.







Create Concurrent Program
  • Navigate to concurrent program (CP) screen.
  • Eneter Name for CP.Short Name should be same as short name of executable.(It's Best Practice).
  • Check the enable check box.Select executable name from LOV.
  • Select the output format for CP.
  • Define Parameter. For each Parameter
    1.Select the Value Set .
    2.Default Type.
    3.Default value for Set
    4.Default Value.
      • After Saving the Concurrent Program, Attach it with requied Request Set.
      • Choose the group where you want to attach CP
      • Add Concurent program

      Saturday, 25 February 2017

      System Profile options Types and uses

      hierarchy and Levels of Profile options :-

      Profile categories, or hierarchy types, enable system administrators to group and set profile options according to their business needs or the needs of the installation. You can view and set a profile option at the levels of its hierarchy type. As a system administrator, you can use the System Profile Values window in Oracle Applications Forms to set up profile options for your user community. If you change a user profile option value, your change takes effect as soon as your users log on again or change responsibilities, and bounce the apache server. When you set up a user profile, you provide Oracle Applications with standard information (such as printer) that describes a user, Responsibility, application, or site. You can set up values for user profile options at each of the following profile levels.
      • Site: Option settings pertain to all users at an installation site.
      • Application: Option settings pertain to all users of any Responsibility associated with the application.
      • Responsibility: Option settings pertain to all users currently signed on under the Responsibility.
      • User: Option settings pertain to an individual user, identified by their application user name.
      The values you set up at each level provide run-time values for each user's profile options. An option's run-time value becomes the highest level setting for that option.
      When you can set a profile option at more than one level, the priorities from lowest to highest are:
      • Site has the lowest priority.
      • Application supersedes Site.
      • Responsibility supersedes Application.
      • User has the highest priority.
      For example, values at the Application, Responsibility, or User levels can override a value at the Site level. A value at the User level has the highest priority and overrides values at any other level.
      For example, for a given user, assume the printer option is set only at the Site and Responsibility levels. When the user logs on, the printer option assumes the value set at the Responsibility level, since it is the highest level setting for that option.

      Note: As a System Administrator, you should set site-level option values before specifying profile options at the other levels after the installation of Oracle Applications.
      The options specified at the site-level work as defaults until the same options are specified at other levels. Application users can use the Personal Profile Values window to set their own personal profile options at the user level. Not all profile options are visible to users. End-users might not be able to update some visible profile options.