Sometime we have requirement to put any kind of Custom Link along with the OAS Global Header.
In order to do we will have to do two things. First need to create a Custom XML file where details will be mentioned and enable the Customlink in instanseconfig.xml file.
Note: If you would have created the same in OBIEE , can Custom XML file can be manually moved to OAS.
Custom XML File Content (customlinks.xml)
<?xml version="1.0" encoding="utf-8"?>
<customLinks xmlns="com.siebel.analytics.web/customlinks/v1">
<link id="l2" name="Data Visualiztion" description="Data Visualiztion" src="http://OAS_URL:PORT/dv/?pageid=home" target="blank" >
<locations>
<location name="header" insertBefore="catalog" />
</locations>
</link>
</customLinks>
We need to keep this file in below location:
$DOMAIN_HOME/bidata/components/OBIPS/
Now we will have to add a new line in instanseconfig.xml file to enable custom link.
Location: $DOMAIN_HOME/config/fmwconfig/biconfig/OBIPS
Add the below tag in instanseconfig.xml file
<CustomLinks>
<Enabled>true</Enabled>
</CustomLinks>
Restart the OAS Presentation services.
Happy Learning !!
No comments:
Post a Comment