Developing a Custom Skin
Continued from Deploying a Custom Skin Folder.
1. Once the custom skin folder ‘analyticRes’ is
deployed and tested successfully, we can create custom skin.
2. To create custom skin we will copy one default
skins, either blafp or FusionFX.
These skins are located at,
<ORACLE_HOME>/OracleBI1/bifoundation/web/app/res
3. We will copy ‘FusionFX’ skin for our
development.
We can see 2 forlders at these locations as s_FusionFX and sk_FusionFX
Here 's' represents style and 'sk' represents skin.
4. We will rename these folders within AnalyticRes
folder as per the requirement.
Now whatever changes we need to do we will be doing in these copied skin
folders.
For example, our skin name is 'TestSkin' and 2 copied folders will be s_TestSkin and sk_TesSkin.
5. Now we need to set this skin as a default skin
for our dashboard.
For this we need to add a XML code within instanceconfig.xml file located
at,
<ORACLE_INSTANCE>/config/OracleBIPresentationServicesComponent/coreappliation_obips1
At the bottom of the file but within the <ServerInstance> grouping, enter the following code:
<URL>
<CustomerResourcePhysicalPath>/u01/Middleware/instances/instance1/bifoundation/OracleBIPresentationServicesComponent/coreapplication_obips1/analyticsRes
</CustomerResourcePhysicalPath>
<CustomerResourceVirtualPath>/analyticsRes</CustomerResourceVirtualPath>
</URL>
<UI>
<DefaultStyle>TestSkin</DefaultStyle>
<DefaultSkin>TestSkin</DefaultSkin>
</UI>
Here <CustomerResourcePhysicalPath>
sets the path of the skin.
<CustomerResourceVirtualPath>
sets the virtual path for path mentioned within <CustomerResourceVirtualPath>
tag.
<DefaultStyle>
sets the default style and will map to folder s_TestSkin.
<DefaultSkin>
sets the default skin and will map to folder sk_TestSkin.
6.
Now
restart the Presentation Services from EM.
7. Once the services are restarted you can check
the default skin being set under dashboard properties.
In
my further posts I will explain further customizations for the custom skin we
created.
Relevant Post :
Deploying & Developing a Custom Skin Part 1
Relevant Post :
Deploying & Developing a Custom Skin Part 1
No comments:
Post a Comment