on 09-25-2015 6:33 PM
Hi
We are setting up the Fiori Launchpad in Portal, all the iviews properties are maintained to be displayed as tiles. We would like to change the icon displayed on the right hand side of the tile, to something from web resource repository.
The image type property is maintained as 'Image(small)" and the ICOn URL is maintained as - com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/sapstore-tablet.png
But it does not work. Does anybody have any inputs on how the icon should be referenced from the WRR
Hi,
Did you put a leading / at beginning:
/com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/sapstore-tablet.png
Also - did you check it in the catalog? the updated tile is in the catalog.
If you have changed the icon url , in any case you shouldnt see the old icon. (in the catalog)
Best Regards,
Tal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sandip,
When you put in the browser direct link for the png in the WRR , do you see it?
for example:
<portal:port>/com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/sapstore-tablet.png
Does this show up?
if it doesnt, make sure the path to the WRR is correct.
if it is, then this needs to check...
best regards,
Tal
Tal
Yes the image shows up if I put in the browser -
<portal:port>/com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/sapstore-tablet.png
But not on the tile. I have cross checked the path - its correctly mentioned in the view properties
image type - Image (small)
icon path - /com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/sapstore-tablet.png
Is there a restriction on what kind of image we use, can we use SVGs??
Thanks for your help
Sandip
Hi,
Does Full-Width work? or also doesnt?
I would try loading in with chrome , then inspect with F12 developer tools the tile.
While clicking on it, check the html, for example:
here you can see i selected tile with an image, and background-url is set to a png file which i can access also directly.
Best Regards,
Tal
Hi,
I've noticed in my screenshot the url for WRR is the following:
com.sap.portal.resourcerepository/repo/Folder...
While in your screen shot:
com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile
do you have a folder inside WRR that is named com.sap.wrr ?
can you access the url mentioned in your screenshot?
thanks,
Tal
com.sap.wrr is the 'Resources provided by SAP' folder..
I can access the url - http://host:port/com.sap.portal.resourcerepository/repo/com.sap.wrr/Mobile/application_icons/favorit...
I tried with a different image but it still did not work - /com.sap.portal.resourcerepository/repo/FFP_DEMO/EPTile_HR_Direct.jpg
When you are in Dev Tools, selecting the div as before, and clicking on the right side on the image link, you see it?
Strange...
if you go to WRR, select the png image file, then right click-->preview , this is basically the URL that you should use.
but any way in your case you say the image works, but the tile image is not seen.
When you set the image type to Full Width (instead of image small) , what do you see?
can you please send the image?
thanks,
Tal
Tal
When the landing page loads, I see only one error in the console
2015-10-06 16:27:18 registerResourcePath ('sap/ui/core/themes/nextgen_ajax', '/com.sap.portal.theming.webdav.themeswebdavlistener/GUID:0dfec02eba3d0e90e95e3d5015c3e4cc/UI5/sap/ui/core/themes/nextgen_ajax/') - sap.ui.ModuleSystem
2core-min-0.js:85 2015-10-06 16:27:18 registerResourcePath ('sap/ui/core/themes/nextgen_ajax', '/com.sap.portal.theming.webdav.themeswebdavlistener/GUID:0dfec02eba3d0e90e95e3d5015c3e4cc/UI5/sap/ui/core/themes/nextgen_ajax/') - sap.ui.ModuleSystem
GET https://server:4390/com.sap.portal.theming.webdav.them…vlistener/GUID:0dfec02eba3d0e90e95e3d5015c3e4... 404 (Not Found)W1 @ core-min-0.js:31Q.extend.css @ core-min-0.js:31Q.each.Q.cssHooks.(anonymous function).get @ core-min-0.js:31Q.extend.css @ core-min-0.js:31(anonymous function) @ core-min-0.js:31Q.access @ core-min-0.js:31Q.each.Q.each.Q.fn.(anonymous function) @ core-min-0.js:31S._checkAndAdaptWidth @ core-min-2.js:79S._refresh @ core-min-2.js:79S.onAfterRendering @ core-min-2.js:79d.onAfterRendering @ core-min-3.js:11a._callEventHandles @ core-min-1.js:16a._handleEvent @ core-min-1.js:16f @ core-min-1.js:16R.flush @ core-min-1.js:16R.render @ core-min-1.js:16U.rerender @ core-min-1.js:16n.renderPendingUIUpdates @ core-min-3.js:7(anonymous function) @ core-min-0.js:167
I am not sure if this is related to the icon...
Hi Sandip,
it works in our Portal/FFP (NetWeaver 7.4/SP13) when setting the following properties in the iView:
Icon URI (com.sap.portal.navigation.IconURI) -> pcd:resource_repository/FFP_DEMO/EPTile_family_status.png (this is just an example from SAP "Admin OOB" demo package ...
Image Type (com.sap.portal.navigation.ImageType) -> "Image (Full-Width)" and "Image (Small)" both work.
Does this help?
Best regards, Johannes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.