Samples
Sample Applications
The Web SDK includes several sample applications, located under a server\samples
folder at the SDK install location. The default SDK install folder is:
C:\Program Files\Web SDK <Major version>.<Minor version>
These samples are written using the handlebars templating library and are delivered via a nodejs express server.
Note: Most users find that viewing one or more of the sample application’s source in the browser more useful than reading the source code directly. The samples are primarily designed to be viewed in the browser.
The following samples are available at http://localhost:3000:
Sample | Description |
---|---|
Simple Sample | As the name suggests, this is the most basic example of integrating with the Web SDK. |
Simple Sample Without Inline JS | This is the same as the SimpleSample but it does not use inline javascript. See this article for more information. |
Single-Page Sample | This sample is the most complete example application. |
Modal - Bootstrap | This sample demonstrates how to use the Web SDK in a modal dialog. The sample uses the Bootstrap library but the principles can be applied to any modal dialog library. |