User Manual
Web Server
LoginButton
Mark a login button with the predefined id “ix-login”. Any element can be used.
InvalidCredentials
Optionally add an element with the predefined id “ ix-invalid-credentials”that
willbeshowniftheloginfails.
6.2 JavascriptSDK
The JavaScript SDK provides a rich set of client-side functionality for accessing
the server-side API calls.
6.2.1 JavascriptSDKOverview
Javascript SDK makes it possible to build highly interactive web pages that uses
tags defined in the project.
1.
The first step to build an interactive web page is to reference the SDK by
inserting the following script into the header of the HTML.
Note:
TheSDKisbundledwithjQuery1.7(http://jquery.com/).
2.
Next, the SDK needs to be initialized. In its simplest form the following lines
need to be added after the reference to the SDK:
This will make it possible to use the defined tag metadata attributes to incorporate
the project tags into the web page.
The following line will, for example, insert the value of Tag1 into the HTML
document:
142
BeijerElectronics, M AEN831P