Forum Discussion

walkerline117's avatar
walkerline117
Contributor
8 years ago

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

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

  • 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.

    • nganapathiraju's avatar
      nganapathiraju
      Former Employee

      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?

      • walkerline117's avatar
        walkerline117
        Contributor

        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