Wednesday, April 1, 2015

Site Name profile in 12.2

Site Name profile in 12.2

We generally define “Site Name” profile at site level to identify forms session distinctly when we have multiple EBS Sessions. In prior releases upto 12.1.3 this can be directly modified and the change remains permanent until you make changes manually.
From 12.2, Oracle changed the way how it is handled. The value of Site Name defaults to parameter value s_sitename defined in context file. So, whenever we execute autoconfig it overwrites “Site Name” with s_sitename  parameter
The script that  updates the value when autoconfig is ran: $INST_TOP/admin/install/txkappsprf.sql
 In order to customize the change according to our requirement we can perform steps as below:
1)      Identify the template file that needs to be customized.
$AD_TOP/bin/adtmplreport.sh contextfile=$CONTEXT_FILE target=$INST_TOP/admin/install/txkappsprf.sql
This script provides log file which gives template file details:
TEMPLATE FILE   : /u01/tech_st/fs1/EBSapps/appl/fnd/12.0.0/admin/template/txkappsprf.sql
TARGET FILE     : /u01/tech_st/fs1/inst/apps/endecebs_endecaapps/admin/install/txkappsprf.sql
2)      Navigate to TEMPLATE File location $FNS_TOP/template and create directory “custom
$ mkdir custom
3)      Switch to “custom” directory and copy the template file to this location.
4)      Edit the content of this newly copied file txkappsprf.sql under $FND_TOP/admin/template/custom as below
DEFINE SITE_NAME = "%s_sitename%"
To
DEFINE SITE_NAME = "<Your customized message>"
After these changes are made whenever you run autoconfig, the Site Name will be updated based on your custom template file. This can be added to your post clone steps based on your requirements.

No comments:

Post a Comment

Your Comments on blog are strongly welcomed..