Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to make Masthead branding image relative instead of hardcoded url

We have an impplementation in which the logo is coming from

https://cpspqap.sserver.com:50001/irj/portalapps/crm/mime/crm-logo.jpg (in QA server)

where the log is referenced.. All servers from SANDbox,

QA, Prod and Dev is having the same url which is absolute and sometimes when QA server is down it creates problem.

All the servers have

/irj/portalapps/crm/mime/crm-logo.jpg in it but how can i modify the par file to reflect this and how to browse to this folder using portal coz I couldnt find how to navigate to the logo using Portal Admin and how to make it relative since I dont have the server configured in NWDS to test it... WIll irj...logo.jpg will work or I have to import using NWDS and create folder and paste the logo in it?

Former Member
replied

Hi George,

From your story I guess you work with a custom Masthead. You can always call objects that are stored on the server bij calling the relative URL. An example is <img src="/irj/portalapps/your/folder/location/afile.jpg" ...

We use it for alot of stuf ourself. The main advantage is that you can transport the masthead instead of changing it for all your systems.

If you where not talking about a custom masthead but the default SAP one that is themed by the Theme editor than you are forced to upload an image, it then gets stored in the theme package and that again is transportable so you will have the same result.

Good luck,

Benjamin Houttuin

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question