HTML assets

How to request an authentication token from SAM?
The following API can be called to get a cached authentication token from SAM, which can be used for Samples, Registration Brochure, Dynamic asset...
Mon, 11 Sep, 2017 at 10:01 AM
How to close an Asset?
Intercepting an HTML asset's [DONE] button let's you create any kind of cool tricks with HTML assets. You can have a popup message...
Wed, 29 Mar, 2017 at 2:20 PM
How to open Apple's native calendar app and add a new calendar entry from a HTML asset?
The code to open the native iOS calendar is as below. Update the index.html with the dates and times of the calendar entry: <span img id="add...
Tue, 9 Oct, 2018 at 9:07 AM
How to programmatically close an HTML asset?
IMPORTANT: This feature is only supported on iOS and Android and must be bypassed if the asset is loaded to myINTERACT Desktop. The code below ...
Mon, 8 Jan, 2018 at 9:09 AM
How to enable individual page tracking to be able to view pages access reports in SAM?
NOTE: Such a report is currently in development but can be created on request. Please contact support@interact.technology Option 1 (PREFERRED M...
Wed, 10 Oct, 2018 at 1:50 PM
How to display an input field mask?
Set the HTML placeholder attribute to the desired mask on the input field:  <input type="text" name="FieldName" placeholder...
Mon, 8 Jan, 2018 at 9:37 AM
How to link to 3rd party JavaScript libraries? Is it ok to link directly to online-hosted libraries?
Linking to online-hosted libraries is not recommended, as there is always a possibility that the device will be offline and linked libraries won’t be lo...
Mon, 8 Jan, 2018 at 9:10 AM
How to limit the number of characters in an Asset’s input field?
On input field you need to use HTML max length attribute e.g.: <input type="text" name="FieldName" maxlength="10" ...
Mon, 8 Jan, 2018 at 9:37 AM
How to embed a video in a HTML Asset?
HTML5 Video tag can be used to embed a video. <video src="IN_video1.mp4" controls="controls" autoplay></video> ...
Mon, 8 Jan, 2018 at 9:03 AM
Is it possible to navigate (via HTML <a> tags etc.) between HTML Assets and SmartPDF Assets?
Yes. To link to a SmartPDF asset, use the sample code below. <a href="nextinteract://open?id=9241&amp;path=pdf/a.pdf#2"> LINK...
Mon, 8 Jan, 2018 at 9:10 AM