6

I've been able to configure the app icon for my app part, which appears in the app catalog in SharePoint. However, when my app is inserted onto a page a grey cube is rendered, rather than the icon. Does anyone know how to configure this in my app setup?

insert app parts

1

In the elements.xml file of the App-Part you add a property CatalogIconImageUrl with the path to the image. Note that the image has to be 16x16 pixels in size

<properties>
   <property name="CatalogIconImageUrl" type="string">path/to/image.png</property>
</properties>
| improve this answer | |
  • This creates an error when trying to deploy the app: ClientWebPart has the Property CatalogIconImageUrl which cannot be used since its declared on a base class – ozkary Aug 17 '16 at 18:44
1

Seems like the icon file name is hardcoded to "SPStoreFrontAppDefault.16x16x32.png" and cannot be changed for app parts:

enter image description here

Terrible!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.