You need to sign in to do that
Don't have an account?
J. Scott Cromie
How to get a "permalink" to an attachment to send through email (from node.js app)
Hey fellow propellerheads,
I am building an integration with SFDC out of a node app, and I would like to get the URL to an attachment and provide it as a permalink (or a 30 day link if necessary) to an end user. In essence, I'm looking to return the SRC="https://<myurl>/services/data/v37.0/sobject/Atachment/<AttachId>/Body" which my FE guy would throw into an <A> tag in both a page and an email.
I haven't seen anything out in the wild yet which would allow this - just a note in the docs stating that sending an email out of SFDC will give a permalink if the attachment is over 3MB.
Anyone out there have any examples of doing this?
Thanks in advance for the help.
Scott
I am building an integration with SFDC out of a node app, and I would like to get the URL to an attachment and provide it as a permalink (or a 30 day link if necessary) to an end user. In essence, I'm looking to return the SRC="https://<myurl>/services/data/v37.0/sobject/Atachment/<AttachId>/Body" which my FE guy would throw into an <A> tag in both a page and an email.
I haven't seen anything out in the wild yet which would allow this - just a note in the docs stating that sending an email out of SFDC will give a permalink if the attachment is over 3MB.
Anyone out there have any examples of doing this?
Thanks in advance for the help.
Scott