Skip to main content
Nintex Community Menu Bar
Answer

Get attachments from a particular names Attachment field?

  • March 14, 2018
  • 2 replies
  • 368 views

Forum|alt.badge.img+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?

Best answer by rhia

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

2 replies

rhia
Forum|alt.badge.img+15
  • Novice
  • Answer
  • March 25, 2018

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


Forum|alt.badge.img+3

Hi rhia,

 

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

 

Thanks,

Chandra