It's all about the answers!

Ask a question

Icon is not appearing when using extensions in RTC


Sabrina Hippert (146) | asked Mar 23 '16, 6:50 p.m.
  We are using 5.0.2 with the latest ifix and We have created multiple simple extensions but the Icon never seems towork, we are following your format but we need to know is there a specific image type needed.                                           
                                                                      
<ju:catalog-entry>                                                    
        <dc:title>Base Structure</dc:title>                           
        <dc:description>Base Structure Do Not Use</dc:description>    
        <dc:creator>Testo</dc:creator>                         
        <ju:gadget rdf:resource='./BaseCopy/base.xml'/>               
        <ju:icon rdf:resource='./BaseCopy/base.GIF'/>                 
        <ju:preview rdf:resource='./BaseCopy/base_pre.PNG'/>          
        <ju:thumbnail rdf:resource='./BaseCopy/base_thumb.PNG'/>      
        <ju:category>TestCo</ju:category>                               
    </ju:catalog-entry>                                               

3 answers



permanent link
Ralph Schoon (59.4k23642) | answered Mar 24 '16, 2:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Mar 24 '16, 2:24 a.m.
This looks suspiciously like a widget catalog for DoorsNext Client Extensions.

In 6.0.1 this works for me:

   <ju:catalog-entry>
      <dc:title>Hello World</dc:title>
      <dc:description>This is my first RM Extension, it shows a box with some text.</dc:description>
      <dc:creator>Ralph Schoon</dc:creator>
      <ju:gadget rdf:resource="./hello_world/hello_world2.xml" />
      <ju:icon rdf:resource='./hello_world/hello_world_icon.gif'/>
      <ju:preview rdf:resource='./hello_world/hello_world_preview.jpg'/>
      <ju:thumbnail rdf:resource='./hello_world/hello-world-preview.jpg'/>
      <ju:category>Ralph's RM Extensions</ju:category>
      <ju:category>Requirements</ju:category>
   </ju:catalog-entry>


Please note that the file name extensions don't use capital letters. The images are also all saved in the format the extension claims.

permanent link
Tony Camacho (11) | answered Mar 24 '16, 8:22 a.m.

Yes you are correct it is a widget catalog for DoorsNext Client Extensions.

I will not use capital letters but the other images work except for ICON. Does the ICON image type have to a specific file format and size? Does it have to be a gif and 12x12 pixel size?


Comments
Ralph Schoon commented Mar 24 '16, 8:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

It is a bit inconclusive for me. The Icon only shows as icon if you add the widget. I have examples where preview and thumb seem to work (Asil) but my example actually does not. Ther also seems to be disagreement in the examples which quote/double quote to use.


permanent link
Tony Camacho (11) | answered Mar 24 '16, 9:54 a.m.
Thanks Ralph I'll play with it and post my findings here :-) if that helps

Your answer


Register or to post your answer.