You need to sign in to do that
Don't have an account?
ales.p
Image URL referral
Hello developers,
I'm developing an AppExchange application that use Documentation TAB and I uploaded some GIF images that I need. When images has been uploaded, Salesforce (Sf) assign them an ID automatically. In order to refer to those images I have to use a link like that:
... with the given ID.
The problem is that I have to refer to those images inside Reports, S-Controls and Custom Formula Fields but the given link change every time I install or load my application for my Customers because ID change.
So, is there a way to refer to images with the image "Document Name" given while upload???
I'm looking to something like that or similar:
Help!!!
Thanks in advance.
Alessandro
:smileysad:
Message Edited by Ales.p on 10-12-2006 02:38 AM
the IMAGE function may help you. Setup a filter to lookup the same and set the ID using a merge field. I am trying to implement this solution for myself because of the same problem you have.
Here are some official examples of the IMAGE function:
http://salesforce3.sitestream.com/pdf/getting_started_with_images_v1.pdf
Let me know if/when you find a solution
James
Municipal Software
The oid is the id field off of Organization. If that changes for each of your application users, then just use the same technique:
{Organization.Id}
I'm not sure if that is the organization of the application users or of the organization that is supporting the application.
Message Edited by ChrisMcL on 10-23-2006 05:04 PM
The code above is a bit that I've used. The imageName and imageId args are directly from the second query above and are the Name and Id fields respectively.
Hello DevAngel,
I understand your solution but I have to use these images also inside Reports or Related List and not only inside S-Control.
Mybe there are no solutions.
Thank for your time,
Alex