The dataeaseconnect.js will help you do connect to DataEase PRISM data and to do all the heavy lifting. This chapter will be the reference guide documenting all the different parts and how to use it with samples. The library will be described in many other chapter as well, but then in it's context like forms, data manipulation etc. The library comes with the server and are found in static/deserver under the folder \static in the program catalog of the installation.

<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script type="text/javascript" src="/deserver/dataeaseconnect.js"></script>
<script>
	var deconnect = new DataEaseConnect();
	deconnect.forminit("[{user.sessionid}]","[{user.token}]");
</script>

This is how you set up the library. First load jquery as this is used by our library. Then load dataeaseconnect.js, create the deconnect object and then do some forminit  code and you are ready to go. The forminit code read the settings inside the html document and connects data, fields and buttons to simulate a DataEase form on web based on html settings only. For more information look in the form section of this book.