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.