How to get contents of a folder?

176
0
02-11-2019 04:19 PM
StahlyEngineering
New Contributor III

Hello all,

I am trying to pass the contents of a folder (a set of documents) to an array within a widget. In the little research I've done it seem that this must be done through a server-side script (the target folder sits in the same place as the WAB server). However I can't figure out how to execute any such script from a widget.

Does the WAB support this capability since it's built on node.js? If so would an esriRequest be the right tool for the client-server communication?

links to tutorials would be much appreciated,

Thanks!

0 Kudos
0 Replies