Solved

Get attachments from a particular names Attachment field?

  • 14 March 2018
  • 2 replies
  • 250 views

Userlevel 3
Badge +9

In my nintex form on a SharePoint list, i have added multiple attachment fields at different stages of the process, and given them different names.

 

I'd like to pull out attachments from just one of those attachment fields and send them in an email from the nintex workflow (instead of attaching EVERY attachment)

 

Is this possible today?

icon

Best answer by rhia 25 March 2018, 06:22

View original

2 replies

Userlevel 6
Badge +15

Hi Brent Ellis‌:

Yes, this is possible.

In order to do this, you must first Query XML for the attachment name (ie, /FormVariables/AttachmentABC)

This will give you the file name - like CatPicture.JPG

Next, you'll want to build the attachment string. Attachments are stored in this format:

http://domain.sharepoint.com/sites/Site/Subsite/Lists/ListName/Attachments/ID/AttachmentName

Let me know if you need more details.

Cheers,

rhia

Badge +3

Hi rhia,


 


How can we query the XML of a particular attachment? Could you please provide the steps to achieve that?


 


Thanks,


Chandra

Reply