Oracle Forms Personalization
Why Forms Personalization?
- Oracle Supports personalization unlike customization.
- Personalizations are stored in tables rather than files.
- Will not have a bigger impact when you upgrade or apply patches to the environment.
- Can be moved easily through FNDLOAD from one instance to other.
- Can be restricted at site/responsibility/user level.
- Easy to disable/enable with click of a button.
- Personalization stores who columns with which we have the ability to track who created/modified it where as in CUSTOM.PLL we don’t have that ability.
- Can be applied to new responsibilities/users easily.
- Can be restricted to a function or form.
What can be implemented through Forms Personalization?
- Zoom from one form to another.
- Pass data from one form to another through global variables.
- Change LOV values dynamically.
- Enable/Disable/Hide fields dynamically
- Display user friendly messages when required
- Launch URL directly from oracle form
- Execute PL/SQL programs through FORM_DDL package
- Call custom libraries dynamically
Personalization Tables:
Invoking the Personalization screen:
Disable the personalization feature:
- On the pulldown menu, choose Help > Diagnostics > Custom Code > Off
- This will disable all callouts to Forms Personalization
- Run the form of interest
- It should run now, because your changes were skipped
- Invoke the Personalization screen and correct the problem
- On the pulldown menu, choose Help > Diagnostics > Custom Code > Normal to re-enable processing of Personalizations
Limitations:
- You can only change what Forms allows at runtime:
- Cannot create new items
- Cannot move items between canvases
- Cannot display an item which is not on a canvas
- Cannot set certain properties
- Cannot change frames, graphics, boilerplate
- You can only respond to certain Trigger Events:
- WHEN-NEW-FORM-INSTANCE, WHEN-NEW-BLOCK-INSTANCE, WHEN-NEW-RECORD-INSTANCE, WHEN-NEW-ITEM-INSTANCE
- WHEN-VALIDATE-RECORD (not in all forms)
- Product-specific events
- May interfere with, or be overridden by, base product code
- 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
- Normal rules for customizations apply
- Extensive testing in a Test environment is required!
Relationship with CUSTOM library:
- CUSTOM is a stub library Oracle ships that receives Trigger Events. Customers are free to add any code they like to it.
- CUSTOM and Form Personalizations drive off the same Trigger Events.
- Form Personalizations are processed first, then the event is sent to CUSTOM
- CUSTOM can do more because it has complete access to all PL/SQL and SQL.
- But for most changes, Form Personalizations is adequate and is significantly simpler.
Leave a Reply
Want to join the discussion?Feel free to contribute!