cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get input schema for attachment field in Email sender snap

walkerline117
Contributor

Hi,

I am using Email sender snap in my pipeline,
I am able to get the input view data from the input snap in Email sender snap without any problem for the fields like ‘to, from, subject etc…’

Howerver I am not able to get the input view data for Attachment field of the Email sender snap.

Has anyone had the same issue?

Thanks

6 REPLIES 6

walkerline117
Contributor

In another word, how I can dynamically put the attachment name in the ‘Attachment’ field of Email sender snap.

This seems to be a bug in Email sender snap as the doc says:
“It may also contain JavaScript expression to be substituted with the data from the input view.”

However it is not the case.

Please state how you are using this snap.

Is it after a file writer or a document writer?

If File Writer, you can use $filename as the variable in the attachment and it will be sent as an attachment if the file is being written to SnapLogic

Can you post your snap config?

Hi,

My case is 2 snaps…a mapper, then a email sender

I want to get one of the variable values of the mapper as the attachment name in the email sender snap.

Thanks

Even lets say you put a file writer in front of the email sender, you cannot get variables in email sender ‘Attachment’ field.
I have confirmed with support, only pipeline varibles(properties) can be selected in ‘Attachement’ field.