Home > Forum > Rules, JS, SQL > populating item list from the xml file

populating item list from the xml file
0

Hi, is it possible to do it via javascript is the main question. i know that this could be done via sdk(c#) and there is already an example guide of it on the forum, but i was wondering would it be possible to create a parser in javascript, that can be loaded maybe by the hotfolders option ?

MVP

Hi Arthuzad,
Assuming that the file is attached, then you could try to parse that XML using SQL, you can see an example here: https://blog.lumenn.pl/reading-xml-attachments/.
When talking about javascript, you could create a business rule that will get the content of the attachment through sql, and then pass that business rule into a form rule to parse it.

Both of those assume that XML is attached on the form.

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.