Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
troy_cronin2
Active Contributor
0 Kudos

Background: After System Copy, email links generated from Knowledge Management (KM) are pointing to incorrect Portal URL.

Breakdown: This behaviour may affect links generated through the following functionalities: SendTo Mail, Notification Emails & Approval Emails.


Area Backdrop: EP Release Independent, SAP NetWeaver, SAP Composition Environment, Knowledge Management Content Management

Reproducing Scenario: Perform System Copy of the Enterprise Portal. Use any KM functionality which results in the sending of an email link pointing to a KM resource (subscription, approval workflow, etc). Link generated in email is pointing to original Portal URL instead of copy.

Why:  URL's for applications and various KM functionalities are constructed using various components including resource URIs, system addresses, and paths specified in the configuration of the URL Generator Service. While many of the properties in the service are configured to default values, the host parameter is unique to each Portal environment. This should be pointing to the Fully Qualified Domain Name (FQDN) of the Portal. After a System Copy this property will still be pointing to the FQDN of the source system and needs to be updated.


The Resolution:  Navigate to System Administration -> System Configuration -> Knowledge Management -> Content Management. Select -> Global Services. Select -> Show Advanced Options. Select -> URL Generator Service. Click -> Edit.  Set <Host> Parameter to the Fully Qualified Domain Name (Host Name + Port) of your Portal. Save changes.