Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

While calling 'Document Upload WEB API' need to restrict specific file extension.

Certified Senior Developer

Problem statement: I have a requirement wherein we receive file in Appian from a third party system. For security reasons we want to restrict only few file extension. 

I have created a WEB API using a ' Document Upload' Template , so that external systems can push documents to Appian. 

I want to return error code in response when some hits this WEB API and upload files with extension other than .xlsx. 

I have used  document(http!request.body, "extension"), however this does not restrict document to be added to target folder. 

Is it possible that , WEB API returning error code and  not even allowing files with specific extension to be added to target folder.

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data