cancel
Showing results for 
Search instead for 
Did you mean: 

How to make export/import of an Enterprise portal application flexible?

Former Member
0 Kudos

Hi,

I've created simple portal using Portal Content Studio. The portal contains lots of URL iViews that shows some parts of the UI of a third party product deployed on the same NetWeaver App server.

If the portal is exported and afterwards it is imported at Enterprise portal on another machine - all the URLs should be modified according to the new hostname and port of the Netweaver App.

Is there a way to pass the host name+port as parameters, so these should be defined only once, when importing at new location - not to modify the location for each URL iView?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Sam,

You should use an AppIntegrator iView to do this. It references a System Definition (of type com.sap.portal.httpconnectivity.urlsystem) in the PCD and allows you to build the URL from the System Definition properties. You need a

To create an AppIntegrator iView create an iView from the PAR called 'com.sap.portal.appintegrator.sap' and choose the 'Generic' template option

The iView property 'System' should contain the alias of the System Definition, and you can use the following syntax to generate the URL by setting the URL template property to something like this:

<Protocol>://<HostAddress>:<Port>/some/path?user=<User.Name[UPR_CASE]>&
  url= <HomeServer.url<a href="ENCODE UPPERCASE">>

Documentation can be found here:

[url=http://help.sap.com/saphelp_nw04s/helpdata/en/70/5a3842134bad04e10000000a1550b0/frameset.htm]http://help.sap.com/saphelp_nw04s/helpdata/en/70/5a3842134bad04e10000000a1550b0/frameset.htm</a>

Cheers,

Steve

Answers (0)