Show TOC

Sending Parameters to Navigation TargetLocate this document in the navigation structure

Use

You can specify parameters to send to whatever navigation target is selected at runtime for the OBN link.

Procedure

URL parameters for the navigation target are specified when creating the OBN link. For example:

            // Create the OBN factory
IOBNService obnService = (IOBNService) WDPortalUtils
    .getServiceReference(IOBNService.KEY); 
OBNFactory obnFactory = obnService.getObjectsFactory();
 
// Create an OBN metadata object (valid for both technologies)
IOBNMetadata obnMetaData = obnFactory
    .createOBNMetadata("myBO","","myOp",getUser());
// Create an OBN parameter
String paramName = "parameterName";
String paramValue = "parameterValue";
 
IOBNParameterData myParam = myOBNFactory
    .createOBNParameterData(paramValue);
 
// Add parameter to OBN metadata
myMetaData.setParameter(paramName, myParam);