Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'd like to add my own icon graphic to a feature. I found out that the ImageUrl attribute in the feature.xml definition points to the /_layouts/IMAGES folder which is out of scope for sandboxed solutions.

Is there a way to add a custom image instead of using default feature icon?

share|improve this question

4 Answers 4

up vote 5 down vote accepted

No there is unfortunatley no possibility to do that.

share|improve this answer
    
I have found a work-around. Please have a look at it here: community.zevenseas.com/Blogs/Vardhaman/Lists/Posts/… –  Vardhaman Deshpande Sep 29 '11 at 7:54

Initially,even I thought that this was not possible in the sandbox. But I found a work around:

I have documented the method to add a feature image to sandbox solution here: http://community.zevenseas.com/Blogs/Vardhaman/Lists/Posts/Post.aspx?ID=11

share|improve this answer

I have an easier solution:

  1. Place the image in folder such as Style Library
  2. Write ../../Style%20Library/ as Image Url
share|improve this answer

Replacing of feature image using script which are provided using custom action is not very good solution. Image will be replaced only when feature is activated if image is deployed with module which is a part of the same feature. You can create hidden feature which should be activated on deploy to solve it.

There is another solution here. Unfortunately it also has limitations - it works fine only for the root site of the default site collection.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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