Limitations of Forms Personalization (文档 ID 420518.1)

In this Document

  Purpose
  Scope
  Details
  Diagnostics & Utilities Community:
  References

APPLIES TO:

Oracle Application Object Library - Version 11.5.10.0 to 12.1.3 [Release 11.5 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 28JUL2014

PURPOSE

With the Oracle E-Business Suite release 11.5.10, the Oracle has introduced a mechanism which revolutionizes the way the forms can be customized to fulfill the customer needs. For many years, Oracle Applications has provided a custom library using which the look and behavior of the standard forms can be altered, but the custom library modifications require extensive work on SQL and PL/SQL. In the release 11.5.10, Oracle has provided a simple and easy feature to implement the customer specific requirements without modifying the underlying forms code or CUSTOM library. Although CUSTOM library still can be used for forms customization to implement the complex business logic, the personalization feature provided in the latest release is easy, faster and requires minimum development effort.

SCOPE

Oracle Applications release 11.5.10 has provided a user interface "Personalization form" which will be used to define the personalization rules. These personalization rules establish the custom actions to be performed by the forms during runtime. The actions may include changing prompts, showing custom messages or prevent the user from doing the transactions etc. This feature also provides a well-built controlling mechanism which restricts the execution of the personalization rules at different levels (Industry, site responsibility and user). The personalization does not violate the support from Oracle and these rules also conceded with the future upgrades without any additional effort.

DETAILS

This feature has several significant limitations due to the architecture of Oracle Forms and/or the e-Business Suite.

[1] User can only change what Oracle Forms allows at runtime. For example, the following cannot be changed:

  • User cannot create new items
  • User cannot move items between canvases
  • User cannot display an item, which is not on a canvas (thus, individual flexfield segments cannot be displayed)
  • User cannot set certain properties such as the Data type of an Item.
  • User cannot change frames, graphics, or boilerplate
  • User cannot hide the item that currently has focus

[2] Form Personalization can only respond to events that are centrally processed and dispatched by APPCORE. These are limited to:

  • WHEN-NEW-FORM-INSTANCE, WHEN-NEW-BLOCK-INSTANCE, WHENNEW-RECORD-INSTANCE, WHEN-NEW-ITEM-INSTANCE. These events occur as the user moves focus within the form.
  • WHEN-VALIDATE-RECORD (in many but not all forms). This event occurs whenever changes have been made to the current record in the current block.
  • SPECIAL1 through SPECIAL45. These occur when the user selects entries from the Tools, Reports and Actions drop down menus.
  • Product-specific events. These are typically documented in implementation manuals, such as ‘Configuring, Reporting and System Administration in Oracle HRMS‘.
  • Form Personalization can only respond to events that are centrally processed and dispatched by APPCORE. These are limited to:

WHENNEW-RECORD-INSTANCE
should read
WHEN-NEW-RECORD-INSTANCE

[3] User can see only the events that are being passed by enabling the ‘Show Events‘ option in the Custom Code menu.

[4] Certain personalization must be performed at specific events:

  • To specify the Initial Value of an Item, user must perform that action in the WHEN-NEW-RECORD-INSTANCE event of the block that contains the item.
  • Special menu entries can only be created at form start up (WHEN-NEW-FORM INSTANCE)

[5] Both the Personalization form and the runtime-processing engine will report errors for these cases and skip processing of them.

[6] Certain objects may not be available to user to change, or cannot be validated:

  • If a Tab within a form has no items directly rendered on it, that Tab will not appear in the list of objects that user can modify. In some cases, making that Tab the active tab before invoking the Personalization feature may cause it to be detected.
  • The object types GLOBAL and PARAMETER cannot be detected, thus these fields have no LOVs to restrict their input. Use the ‘Validate‘ or ‘Apply Now‘ buttons to determine if the values users have entered actually exist. Note that GLOBAL variables are dynamically created, so whether they exist or not can be a matter of timing.

[7] Most significantly, this may interfere with, or be overridden by, base product code; any change user make might interfere with the normal operation of the form. This can manifest itself in several ways, such as:

  • User may make a personalization but it does not take effect, because there is code in the form that overrides it. In some cases user may be able to perform user personalization by moving the Trigger Event to a ‘lower‘ level, such as block or item-level.
  • User personalization may simply produce the wrong result, because user change interacted with the base code in unexpected and untested ways. At best this error will occur immediately upon the personalization being applied; at worst it could affect some later processing which does not appear to be directly related to the object or event.
  • In extreme cases, user changes may prevent the form from running at all, making it difficult to open the Personalization screen to remove the offending personalization unless user turn off Custom Code. Because of this, it is critical that any change be thoroughly tested in a Test environment. See the ‘Troubleshooting, Support, and Upgrade considerations‘ section later in this chapter for more information.

[9] Use of the Apply Now button does not always work if dependent on the results of another action.

[10] Forms Personalization is not possible for any flexfield structure or segments.

This is a limitation of Forms Personalization on Flexfield. Logged an Enhancement Request Bug 5506506 - "PERSONALIZE FLEXFIELDS BY USING FORMS PERSONALIZATION" but was rejected the enhancement request as this is not feasible. A Flexfield is a single field in a Form but then when you click into it and it opens up the flexfields window, the multiple fields you see is actually a user exit with multi segment values, not form fields. No Form Personalization events are passed to flexfield windows (user exits). No Form Personalization events are passed to segments inside the flexfield window (user exit).

However, you can do a little more on Flexfields using some custom code and Forms Personalization like?

1. Make a Flexfield Segment as read only.
2. Populate a Flexfield Segment with some pre-defined value dynamically at run time business logic.
3. Can restrict users from entry in a particular segment of a Flexfield.

[11] The argument (sql) length for creating a record group must be within 2000 Characters.  A viable workaround is to create a view that contains the required SQL then use that view as the data source for the SQL creating the record group.

[12] Populating LOV dynamically from a Record Group must be against the WHEN-NEW-ITEM-INSTANCE of that LOV item.

[13] The use of the action RAISE FORM_TRIGGER_FAILURE may not work properly in some triggers.

[14] Use of Builtin Action "Raise Form_Trigger_Failure" and pressing the button "Apply Now" will show the message "One or more required fields are missing values".

[15] It is not possible to use server-side functions that have OUT parameters as the condition to execute the actions.

[16] Expected user is an Admin/Developer

  • Knowledge of Oracle Developer is extremely desirable
  • Knowledge of PL/SQL, Coding Standards and/or APIs required in some cases.

[17] Normal rules for customizations apply

  • Extensive testing in a Test environment is required.
  • A patch does not touch user code, but user still must re-test after applying a patch.
时间: 2024-10-12 10:08:29

Limitations of Forms Personalization (文档 ID 420518.1)的相关文章

Introduction to 600/7445 Internal Error Analysis (文档 ID 390293.1)

In this Document   Purpose   Troubleshooting Steps   References Applies to: Oracle Database - Enterprise Edition - Version 8.1.7.4 to 11.2.0.3 [Release 8.1.7 to 11.2] Information in this document applies to any platform. ***Checked for relevance on 2

Customer Introduction to ORA-7445 Errors (文档 ID 211909.1)

In this Document   Purpose   Scope   Details   References Applies to: Oracle Database - Enterprise Edition - Version 7.0.16.0 to 11.2.0.2 [Release 7.0 to 11.2] Information in this document applies to any platform. Add ***Checked for relevance on 14-M

TECH: Getting a Stack Trace from a CORE file on Unix (文档 ID 1812.1)

修改时间:2013-4-8类型:BULLETIN Introduction ~~~~~~~~~~~~ This short article aims to explain how to get a stack trace from a core dump produced by any of the Oracle products on Unix platforms. By following the steps below you can provide Oracle Support with

How to Create an OCM Response file to Apply a Patch (文档 ID 966023.1)

How to Create an OCM Response file to Apply a Patch in Silent Mode - opatch silent (文档 ID 966023.1) APPLIES TO: Oracle Universal Installer - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2]Oracle Database - Enterprise Edition - Version 10.2.0.1 to

How to Send an Email Using UTL_SMTP with Authenticated Mail Server. (文档 ID 885522.1)

APPLIES TO: PL/SQL - Version 9.2.0.1 to 12.1.0.1 [Release 9.2 to 12.1]Information in this document applies to any platform.***Checked for relevance on 07-Apr-2014*** GOAL The UTL_SMTP package is designed for sending electronic mails (emails) over Sim

AIO on AIX 6.1 (文档 ID 1328019.1)

最近在AIO 6.1与SF环境中遇到了AIO的问题,下面是MOS中关于AIO 在6.1下的一般变化说明   欢迎大家加入ORACLE超级群:17115662 免费解决各种ORACLE问题,以后BLOG将迁移到http://www.htz.pw   修改时间:2014-5-6 类型:HOWTO In this Document Goal Fix AIO on AIX 6.1 (文档 ID 1328019.1)   修改时间:2014-5-6 类型:HOWTO   In this Document

11i - 12 Gather Schema Statistics fails with Ora-20001 errors after 11G database Upgrade (文档 ID 781813.1)

11i - 12 Gather Schema Statistics fails with Ora-20001 errors after 11G database Upgrade (文档 ID 781813.1) 转到底部 In this Document   Symptoms   Changes   Cause   Solution APPLIES TO: Oracle Applications Technology Stack - Version 11.5.10.2 to 12.1.3 [Re

Linux OS Service 'ntpd' (文档 ID 551704.1)

Linux OS Service 'ntpd' (文档 ID 551704.1) APPLIES TO: Linux OS - Version Oracle Linux 4.4 to Oracle Linux 6.5 with Unbreakable Enterprise Kernel [3.8.13] [Release OL4U4 to OL6U5]Linux x86Linux x86-64Linux Kernel - Version: 4.4 to 6.5***Checked for rel

PRVF-4664 PRVF-4657: Found inconsistent name resolution entries for SCAN name (文档 ID 887471.1)  

In this Document Applies to: Oracle Server - Enterprise Edition - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]Information  in this document applies to any platform. Purpose runInstaller (OUI) reports INS-20802 while running Oracle Cluster Verification