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 am developing a custom SharePoint workflow in Visual Studio. I have a custom association form (ASPX) and I'd like to display an image, which is embedded into the project (and subsequently wsp).

I've tried all the standard Visual Studio methods for embedding an image in my SharePoint workflow project, but when trying to set the ImageUrl on asp:Image, the resource picker never shows my resource regardless of how I attempt to embed.

share|improve this question
    
Answered my own question on StackOverflow copy of this question... stackoverflow.com/questions/16287924/… –  Tom Apr 30 '13 at 22:16
add comment

2 Answers 2

VS doesnt fullVSy recognize your paths in the SharePoint hive all the time. setting the url to /_layouts/yourfolder/image will work assuming your path is correct.

share|improve this answer
add comment
up vote 0 down vote accepted

Answered my own question (see http://stackoverflow.com/questions/16287924/how-to-embed-image-in-sharepoint-workflow-association-form)...

Right click on the project > Add > 'SharePoint "Images' Mapped Folder', this creates a 'system' directory within the project where you can import your image resources.

These are then selectable using the resource explorer (which comes up when trying to set a field like ImageUrl).

share|improve this answer
add comment

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.