Skip to main content
Nintex Community Menu Bar
Question

Delete SharePoint Online List Item Attachment File

  • February 13, 2023
  • 3 replies
  • 474 views
  • Translate

Forum|alt.badge.img+4

I have a Nintex Automation Cloud workflow which copies the file attachment of a SharePoint Online list item to a separate document library.  After copying the file, I need to delete the attachment from the list item. I’m able to copy the file to the library but am struggling to find a way to remove the attachment from the list item.

Any suggestions? 

 

Did this topic help you find an answer to your question?

3 replies

Garrett
Forum|alt.badge.img+16
  • Scout
  • 904 replies
  • February 13, 2023

Hi @tmfitz 

You can use SPO APIs to delete the list attachments.

 

Refer to this article

 

Here is a YouTube Video - Please note that this is done in O365 Workflow

 

Translate

Forum|alt.badge.img+4
  • Author
  • Rookie
  • 25 replies
  • February 13, 2023

Thanks @Garrett.  This example is using Nintex Workflow for O365. I’m using Nintex Workflow Cloud.  But this is a good example to start and I’ll see if I can translate to NWC.

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • 904 replies
  • February 13, 2023

Hi @tmfitz 

Both the solution are about using the SharePoint Online Web APIs. All you really need to implement the APIs is a web browser. One of the best Web API testing tool is Postman. 

You need to check whether your organization has allowed for the SPO APIs to be used.  

 

Its just that the YT implementation are using O365.

 

Important part if you missed reading the article

 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings