You need to sign in to do that
Don't have an account?
BrianWK
Message Edited by BrianWK on 12-30-2008 11:02 AM
Static Resources or documents made accessible outside SF without login
I started a Visualforce template where I call a Static Resource (just happens to be an image file) - it appears great in the preview, but when the e-mail is sent the user gets a red box instead of the picture.
Is it possible for static resources or documents to be available to non-sf users outside of salesforce? Can I use them in a visual force template or link via a URL without authentication?
In my template I call it using
Code:
<apex:image url="{!$Resource.LetterHead}" />
Message Edited by BrianWK on 12-30-2008 11:02 AM
Jeremy Kraybill
Austin, TX
Message Edited by BrianWK on 12-30-2008 12:51 PM
Jeremy Kraybill
Austin, TX
Anybody ever find a way to make this work?
I noticed that this link says you can't do it, but it was mentioned here that maybe you could with sites.
http://www.salesforce.com/us/developer/docs/pages/Content/pages_email_templates_stylesheets.htm?SearchType=Stem
Just follow these steps:-
1). Upload image in Document folder.
2). Tick mark the checkbox stating "externally available"
3). Save the image.
4). After page will refresh, you will see the image preview inside document header with image's label. Right click on image and copy the address.
5). Now your image url looks like this :-
https://c.<instance>.content.force.com/servlet/servlet.ImageServer?id=<document_id>&oid=<organization_id>
6). Now you can use this url anywhere. It will be displayed inside sf platform and outside as well.
Hope it answered your query!
Thanks
Abhishek Kumar