Are images in the file component stored in public url's?

  • 1
  • Question
  • Updated 4 years ago
  • Answered
We're in the process of adding images to our pages using the file component tutorial outlined here.

The other purpose of having these images is to merge them into a document a little further down the track, using one of the document generation apps.

I'm just wondering whether the images stored on a field in an object (as a lookup to attachment) are stored with a public url? or are their security settings controlled by the object they are attached to?

I've pulled up three related fields for an image using file component. I expect we would use the Url field to merge the given image into a document, but I just want to clarify whether this is stored as a public url or not, as I can't seem to find that setting anywhere on the attachment.



Any help appreciated. Thanks.
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb

Posted 4 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Which app are you using?
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb
Haven't committed to anything yet, am going to explore Drawloop and Conga but haven't tested them with these image fields yet.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Greg,  the visibility of the standard attachment object (where the file component stores its stuff) is based on the public access settings you define when you create a public site.   Check out this tutorial: 

http://help.skuidify.com/m/11720/l/114236-build-force-com-sites-with-skuid

In addition - I think attachment security is governed by the parent object (since they are master detail relationships).  
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Forgot to follow up. I use Conga and the image you have can be accessed via the URL without it being publicly accessible. Conga gets everything it needs through the current user. So long as the current user has access to the image, then the image will merge.

I assume Drawloop works under the same premise.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
Thanks for the additional clarification.  That was one idea that was bugging me when I responded. 
Photo of Greg Jarrett

Greg Jarrett

  • 3,496 Points 3k badge 2x thumb
Thanks Rob & Pat, much appreciated.