Skip to content

PDF response from Channel with http(s) source connector #6188

Answered by elemle
elemle asked this question in Q&A
Discussion options

You must be logged in to vote

I got this to work today. I have the following in a JS response transformer step of the PDF generating destination and then set the source connector return type to binary and application/pdf. I think the final piece that made it work was the ISO-8859-1 parameter.

responseMap.put('PDF', getAttachments(false).get(0).getContentString("ISO-8859-1"));

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pacmano1
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by elemle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants