SP20/SP12: Adding URL Parameter to the Environment
This is one in a series of blogs on the changes in the portal in SAP NetWeaver 2004 SP Stack 20 and in SAP NetWeaver 7.0 SP Stack 12.
One small addition to the list of changes in the current portal releases is a small change in the navigation API. In the case where your navigation connector needs to check for URL parameters, you can now tell the navigation service to pass any URL parameter into the environment that is passed into the connector methods.
Setting the Navigation Service
The navigation can’t pass all URL parameters into the environment, so you need to specify which ones you want to be passed. The following is how to set the property:
- Navigate to System Administration –> System Configuration –> Service Configuration.
- In the Portal Catalog, navigate to Applications –> com.sap.portal.navigation.helperservice –> Services –> navigation_events_helper.
- Open the properties of the com.sap.portal.navigation.helperservice service, either by double clicking the node or right-clicking the node and selecting Configure.
- Add the URL parameter name to the EnvironmentParameters property. Separate parameters by a semicolon (;).