PageIcon in Composite Application: where is the mistake?
Julian Buss, May 31st, 2010
Tags:  composite applications 
I want to change the page icon (com.ibm.portal.PageIcon) in a composite application. But. It. Simply. Does. Not. Work.

Here are the steps, please enlighten me what's wrong:

1.) In 8.5.1: opened composite application editor, opened page properties, opened icon selector, icon icon list is being read and... nothing. No entry in the list, I cannot select an icon (yes, there is a PNG-icon in the app!).

2.) in 8.5.2 I don't have the CA editor installed, so I opened the XML directly. Searching for "PageIcon" revealed the following entry somewhere in the XML:

"com.ibm.portal.PageIcon">
               "" xsi:type="base:String"/>

 
I took the equivalent entry from another application and changed it to:

"com.ibm.portal.PageIcon">
               


No luck, Icon didn't changed.

3.) Then I looked for the section in the XML describing the page the application starts with. I found it and added

"com.ibm.portal.PageIcon">
             "nrpc:///C1256E980026EBBC/icon?file=youatnotes%5Cdevelopment%5Ccrm%5Cproduct%5Ccasetracker.nsf&name=ca_applogo.png" xsi:type="base:String"/>              


Again, no luck.

4.) I changed the URL in the property to:

"com.ibm.portal.PageIcon">
             "nrpc:///[rep_id]/ca_applogo.png?OpenImageResource" xsi:type="base:String"/>              


or

"com.ibm.portal.PageIcon">
             "notes:///[rep_id]/ca_applogo.png?OpenImageResource" xsi:type="base:String"/>              


Both without luck.

Please can someone share the missing link with me?


UPDATE 1. july 2010: I nailed it down. The icon selection dialog in the composit application editor works when I remove all image resources except one. In the app there are about 300 image resources, so it seems that the icon dialog has a problem with that amount of images. I made a reproducible case and sent it to IBM.
I am a software developer, consultant and one of the founders of YouAtNotes. You can hire me if you're looking for an expert in
IBM XPages
IBM Domino development
Workflow for IBM Domino
Mobile Apps for Domino or XPages
Just drop a note to sales@youatnotes.com.

Thanks for reading and have a nice time here!

Please note my Apps for iPhone and iPad: NotesBook: takes your Lotus Notes Notebook (Journal) to your iPhone and iPad xpageswiki.com: huge XPages Tips & Tricks collection for iPhone and iPad