Upload
bvbrahmam
View
219
Download
0
Embed Size (px)
Citation preview
8/10/2019 Forms Personilization FAQs
1/11
Why was forms personalization introduced by Oracle in 11.5.10?
1. CUSTOM.pll is a programmatic methodology for extending Oracle Forms, even for
trivial tasks.
. M!ltiple developers "orking on same CUSTOM.pll co!ld ca!se version related
headaches
Does Forms Personalization replace !"#O$.pll?
#ot really, ho"ever it does provide an alternative to most common activities for "hich
earlier one "o!ld !se CUSTOM.pll
Forms personali$ation is driven %y the same set of events as that for CUSTOM.pll.
&eep in mind that Oracle Forms 'i%raries first invoke the Forms (ersonali$ation, and
then the CUSTOM.pll too for the same set of events.
%ow do & enable Forms Personalizations?
)na%le the personali$ations !sing the *elp+iagnostics men!.
8/10/2019 Forms Personilization FAQs
2/11
What are the 'arious components of Forms Personalizations?
ifferent components of Oracle Forms (ersonali$ations are listed %elo". -o! %egin "ith
recogni$ing "hich Triggers+)vents that yo! "ish to trap and !nder "hat conditions. Thecondition can %e entered !sing the syntax as defined in the pict!re %elo".
8/10/2019 Forms Personilization FAQs
3/11
What does the (ction #ab do?
*ere yo! "ill either change form property, or display messages or ena%le men! etc.
8/10/2019 Forms Personilization FAQs
4/11
an & modify ")* )uery behind the *O+ usin, Forms Personalizations?
Of co!rse yo! can. n the %elo" example am restricting the 'O/ to less than 0records%y introd!cing "here ro"n!m 0 in record gro!p 2!ery.
Step 1. Create a ne" record gro!p
Step . 3ttach the ne"ly created record gro!p to existing 'O/ in )4S Form.
8/10/2019 Forms Personilization FAQs
5/11
an & call a P*-")* "tored procedure passin, it form field 'ariables?
-es, !sing the syntax %elo".
ote/ -o! can also invoke FO5MS6' %!ilt7in to perform '.
8/10/2019 Forms Personilization FAQs
6/11
an & call uilt&ns?
ndeed, as sho"n %elo", yo! can pick from all the form %!ilt7in8s as %elo".
2ou can also call a form function and pass it parameters usin, Forms
Personalizations
8/10/2019 Forms Personilization FAQs
7/11
Processin, can be aborted if 'alidation were to fail
-o! can invoke e2!ivalent to app6item6property.set6property.
am displaying the 5e2!ired property %elo", ho"ever yo! can !se this option for alls!pporta%le properties of app6item6property
-o! can initiali$e a glo%al varia%le. nitiali$ation code is exec!ted if and only if the
glo%al varia%le does not already exist.
Use glo%al varia%les for passing varia%les %ack and forth %et"een t"o forms.
8/10/2019 Forms Personilization FAQs
8/11
(lease do not !se 9lo%al /aria%les if yo!r logic is restricted to a Single form itself.
-o! can assign val!es to form fields !sing glo%al varia%le.
8/10/2019 Forms Personilization FAQs
9/11
Using forms personali$ations, yo! can set the efa!lt "here cla!se of the 4'OC& too.
#ote: on8t forget to reset this cla!se after yo!r desired operation has %een finished. This
"ill facilitate the form to r!n in standalone mode too.
itto for Order %y Cla!se on %lock.
8/10/2019 Forms Personilization FAQs
10/11
For displaying messages, yo! can either enter a plain text, or yo!r message can %e
displayed from the res!lt of a S;' Statement.
'ocal varia%les can %e defined and they "ill %e active for thro!gho!t the session of thec!rrent form.
Use glo%al varia%les if yo! "ish to share the varia%le %et"een m!ltiple forms.
4elo",
8/10/2019 Forms Personilization FAQs
11/11
n the %elo" pict!re, am checking if local varia%le is = then display a message.
-o! can ena%le S()C3'171> or M)#U171>, to create ne" men! entries !nder the Toolmen!.
3s seen %elo", the a%ove t"o set!ps have instantiated the ne" Men! tems
S()C3'1?70= "ill create entries !nder 5eports men!
S()C3'017@> "ill create entries !nder 3ctions men!
-o! can capt!re the click on those ne"ly created men! items %y trapping event M)#U1or S()C3'1 Aor "hatever yo! definedB