You are on page 1of 34

ORACLE EBS SELF SERVICE PERSONALIZATION PAGE

1. Gii thiu v cu hnh............................................................................................................................................................................................ 2

a. Tn phn h: Customizing Look and Feel Administrator .................................................................................................................................. 2

b. Cc Profiles lin quan n Personalize .............................................................................................................................................................. 3

2. Cch xem ni dung ca mt Oracle Application Page c ly t ngun d liu no ......................................................................................... 6

a. Vo trang cn Personalize, v d trong trng hp ny l Page c tn Create Payment cho Contract.............................................................. 6

b. Nhn vo About this page (bc tnh nng FND:Diagnostic th mi c tc dng) ............................................................................................. 7

c. Nhn nt Explain .............................................................................................................................................................................................. 8

d. Ctrl + F tm Lable, ch n 2 ct Object name v Object attribute ........................................................................................................... 9

Lable ca ta cn tm l Contract Description, tng ng vi Lable l gi tr cn show ln. Nu nh n c cha Link th click vo s hin
ra cu truy vn. Trng hp khng cho php th s lm cch k tip.................................................................................................................... 9

Cch tm View Object (View Object l i tng truy xut c s d liu), click vo s thy cu Query SQL..................................... 10

e. Kt qu sau khi Click vo Link........................................................................................................................................................................ 11

3. nh ngha mt Function dng trong Personalize Page....................................................................................................................................... 12

a. Gn tn phn h vo User Name, v d gn tn phn h sau vo User Name ang Login .............................................................................. 12

b. Vo phn h Functional Administrator > Core Services > Functions to Function.................................................................................... 13

c. Vo Responsibility Application Developer > Application > Menu to Permission Set Name................................................................... 15

e. Thc hin Persionalization cho php chnh sa Field ngy Start Date ca mt Supplier................................................................................ 18

TAINV_Trang 1
f. Ch : Function ny ch hiu lc Personalize trong Responsibility m mnh to ra ( XX1 Framework ToolBox Tutorial), khi chuyn qua
phn h khc s khng c tc dng na................................................................................................................................................................... 19

4. To mt nt gi n mt Oracle Form................................................................................................................................................................. 19

a. Bc 0: Enable tnh nng Personalization ln ................................................................................................................................................. 19

b. Bc 1: To mt Item, Personalize cho php to mt i tng mi ............................................................................................................. 21

c. C php gi form v nhng kin thc lin quan.............................................................................................................................................. 22

d. Bc 2: Chnh sa thng tin cho Button hoc Link......................................................................................................................................... 24

e. Bc 3: Nhn nt Apply kt thc................................................................................................................................................................ 25

5. Thc hin nt Export d liu Web Form ra Excel............................................................................................................................................ 25

a. Bc 1: vo Web Form c d liu cn Export ra Excel, tm link c ch About This Page v nhn vo n .................................................. 25

b. Bc 2: sau khi nhn About This Page, tm i tng cn Export ra Excel ly mt s thng tin cn thit nh Name, Instance, ........ 26

c. Bc 3: View i tng ny ln, tm link c nt Personalize Page nhn vo tin hnh chnh Personalize .......................................... 28

d. Bc 4: To mt Item loi Button Export d liu trong Region c tn My Notifications.......................................................................... 29

e. Kt qu chy th .............................................................................................................................................................................................. 33

6. Ti liu tham kho ............................................................................................................................................................................................... 33

1. Gii thiu v cu hnh


a. Tn phn h: Customizing Look and Feel Administrator

TAINV_Trang 2
b. Cc Profiles lin quan n Personalize
Cc Profiles lin quan n Personalize nh sau:
o Personalize Self-Service Defn: dng Enable tt c Personalize Link trn tt c cc Oracle Web Forms.
o FND: Personalization Region Link Enabled: Yes l hin th Personalize cho cc Region trong Oracle Web
Forms.
o Disable Self-Service Personal: dng tt tt c Personalizations
o FND: Personalization Document Root Path: dng import/export tt c cc Personalization.
o FND: Diagnostics: kch hot cc link About this page.
o FND:OA:Enable Defaults: cho php mc nh.
TAINV_Trang 3
Orde
Name Code User Responsibility Application Site
r
1 FND:OA:Enable Defaults FND_OA_ENABLE_DEFAULTS Y Y
Personalize Self-Service
2 FND_CUSTOM_OA_DEFINTION Y Y
Defn
Disable Self-Service FND_DISABLE_OA_CUSTOMIZATI
3 N N
Personal ONS
Create Seeded FND_CREATE_SEEDED_PERSONA
4 Y Y
Personalizations LIZATIONS
FND: Personalization FND_PERSONALIZATION_SEEDIN
5 Y Y
Seeding Mode G_MODE
FND: Personalization FND_PERSONALIZATION_REGION
6 Y MIN
Region Link Enabled _LINK_ENABLED
7 Fnd Xliff Export Root Path FND_XLIFF_EXPORT_ROOT_PATH
8 Xliff Import Root Path FND_XLIFF_IMPORT_ROOT_PATH
FND: Personalization
9 FND_PERZ_DOC_ROOT_PATH /tmp/custdocs
Document Root Path

V d v Profile Disable Self-Service Personal

TAINV_Trang 4
V d v Profiles Personalize Self-Service Defn:
Vo Responsibility Functional Administrator > Core Services > Profiles tm nh hnh bn di

TAINV_Trang 5
2. Cch xem ni dung ca mt Oracle Application Page c ly t ngun d liu no
a. Vo trang cn Personalize, v d trong trng hp ny l Page c tn Create Payment cho Contract

TAINV_Trang 6
b. Nhn vo About this page (bc tnh nng FND:Diagnostic th mi c tc dng)

TAINV_Trang 7
c. Nhn nt Explain

TAINV_Trang 8
d. Ctrl + F tm Lable, ch n 2 ct Object name v Object attribute
Lable ca ta cn tm l Contract Description, tng ng vi Lable l gi tr cn show ln. Nu nh n c cha Link th
click vo s hin ra cu truy vn. Trng hp khng cho php th s lm cch k tip

TAINV_Trang 9
Cch tm View Object (View Object l i tng truy xut c s d liu), click vo s thy cu Query SQL.

TAINV_Trang 10
e. Kt qu sau khi Click vo Link
TAINV_Trang 11
3. nh ngha mt Function dng trong Personalize Page
a. Gn tn phn h vo User Name, v d gn tn phn h sau vo User Name ang Login

TAINV_Trang 12
b. Vo phn h Functional Administrator > Core Services > Functions to Function
Type l: SSWA jsp function
c tn l: XX Function Make Supplier Date Enterable
Code l: XX_SUPPLIER_DATE_ENTERABLE
HTML Call: OA.jsp?page=/dummy

TAINV_Trang 13
TAINV_Trang 14
c. Vo Responsibility Application Developer > Application > Menu to Permission Set Name
User Menu Name: XX Permission Set Supplier Date
Menu = XX_PERMISSION_SET_SUP_DT
Menu Type = Permission Set
Thm Function name l: Function Make Supplier Date Enterable ( to bc trc)
Save li

TAINV_Trang 15
d. Vo Responsibility Functional Administrator > Security > Grant > Nhn nt Create Grant
t tn: XX Grant Supplier Date Data Entry
Grantee Type = Group of users
Grantee = XX1 Framework ToolBox Tutorial
Nhn nt Next

TAINV_Trang 16
Gn Permission Set l: XX Permission Set Supplier Date

TAINV_Trang 17
e. Thc hin Persionalization cho php chnh sa Field ngy Start Date ca mt Supplier
Tm i tng Item c tn Start Date chn Personalization

TAINV_Trang 18
Thuc tnh Read-Only l SPEL v gi n Function XX_SUPPLIER_DATE_ENTERABLE ( to bc trc) theo
ch php ${oa.FunctionSecurity.XX_SUPPLIER_DATE_ENTERABLE}

Nhn Apply c hiu lc.


f. Ch : Function ny ch hiu lc Personalize trong Responsibility m mnh to ra ( XX1 Framework ToolBox Tutorial), khi
chuyn qua phn h khc s khng c tc dng na.
4. To mt nt gi n mt Oracle Form
a. Bc 0: Enable tnh nng Personalization ln
Vo cu trc ca mt Page cho php mnh Personalize, ti y c cu trc ca Personalize (Personalization Structure)

TAINV_Trang 19
Sau khi vo xong s c cu trc Personalization Structure nh hnh bn di

TAINV_Trang 20
b. Bc 1: To mt Item, Personalize cho php to mt i tng mi

TAINV_Trang 21
c. C php gi form v nhng kin thc lin quan
C php gi Form bng Javascript
javascript: var <Bin>=document.GetElementById(<Tn_ID_Th_HTML>).innerHTML;openWindow(top,
'OA.jsp?OAFunc=<Tn Function>&Tn_Tham_S'+<Bin>,null, {width:<Gi_tr_chiu_rng_window>, height:
:<Gi_tr_chiu_cao_window>},false, 'dialog', null);void(0);
o innerHTML l phng thc ly ra ci g c bc bi cp th no . y l mt phng thc rt th v lm
vic vi HTML hon ton dng javascript(bn ch dng javascript sinh ra m html)
V d ta c :

TAINV_Trang 22
o V d:

<div id="1"><b id="2"><i>Xem dng text mu</i></b></div>


<script>
document.write("Ln th hai vn th v ch b cp th div
"+document.getElementById("1").innerHTML+"<br />");
document.write("nhng ln sau th ch cn in nghing
"+document.getElementById("2").innerHTML+"<br />");
</script>

Kt qu ca on m trn:

Xem dng text mu

o Ln th hai vn th v ch b cp th div Xem dng text mu


nhng ln sau th ch cn in nghing Xem dng text mu

Thay i nh dng dng innerHTML.


n gin l ta ly n ra, t li n, ri li chn ngc vo. l tt c nhng g trong function changeText()

o V d c dng InnerHTML

<script type="text/javascript">
function changeText(){
var oldHTML = document.getElementById('para').innerHTML;
var newHTML = "<font color=\"#FF0000\">" + oldHTML + "</font>";
document.getElementById('para').innerHTML = newHTML;
}
</script>
<p id='para'>Cho mng cc bn n vi <b id='boldStuff3'>hocvui.net</b> </p>
<input type='button' onclick='changeText()' value='Change Text'/>

TAINV_Trang 23
Kt qu: Cho mng cc bn n vi hocvui.net

C php gi Form khc nh sau


http://host:port/OA_HTML/OA.jsp?OAFunc=<Tn Functions>&<Tn tham s>=<Gi tr tham s>&retainAM=Y
o retainAM: khi thc hin chuyn pages qua li vi nhau m mun gi li cc gi tr ca trang trc th retainAM
= Y, cn khng mun gi cc gi tr trc th l N, ch AM ngha l Application Module.
d. Bc 2: Chnh sa thng tin cho Button hoc Link
Ch c Item loi Button v Link th mi c thuc tnh Destination URL, ta nhp dng gi Form cho n nh sau
o V d:
javascript:var a=document.getElementById(ContractDesc).innerHTML;openWindow(top,
'OA.jsp?OAFunc=ALCII_4B&P_CONTRACT_NUMBER='+a,null, {width:750, height:550},false, 'dialog',
null);void(0);
o V d:
http://app02.alc2.com:8000/OA_HTML/OA.jsp?OAFunc=ALCII_4B&P_HEADER_ID=22038&retainAM=Y
C php ly gi tr trn OAF Page
{@ VO_Attribute}

TAINV_Trang 24
e. Bc 3: Nhn nt Apply kt thc
5. Thc hin nt Export d liu Web Form ra Excel
a. Bc 1: vo Web Form c d liu cn Export ra Excel, tm link c ch About This Page v nhn vo n

TAINV_Trang 25
b. Bc 2: sau khi nhn About This Page, tm i tng cn Export ra Excel ly mt s thng tin cn thit nh Name,
Instance, ...
TAINV_Trang 26
TAINV_Trang 27
c. Bc 3: View i tng ny ln, tm link c nt Personalize Page nhn vo tin hnh chnh Personalize

TAINV_Trang 28
d. Bc 4: To mt Item loi Button Export d liu trong Region c tn My Notifications

TAINV_Trang 29
Chn Style Item l Export Button

TAINV_Trang 30
Nhp thng tin cho Item va to

TAINV_Trang 31
Sau khi to thnh cng

TAINV_Trang 32
e. Kt qu chy th

6. Ti liu tham kho

TAINV_Trang 33
Oracle Self-Service Web Application Implementation Manual
http://download.oracle.com/docs/cd/A99488_01/acrobat/115icxig.pdf
http://download.oracle.com/docs/cd/A60725_05/pdf/webig.pdf

TAINV_Trang 34

You might also like