Quantcast
Channel: Alert.js - CRM 2013-2016 Custom Alerts and Popup Dialogs JavaScript Lightbox
Viewing all articles
Browse latest Browse all 170

Updated Wiki: Documentation

$
0
0

Installation & Usage

  1. Download and install the unmanaged solution (recommended), or download the source files from other downloads, and create the 6 required web resources manually using your own publisher prefix and naming style (not recommended as there are hardcoded references in the files).
  2. Create a new JavaScript web resource or use an existing web resource to create your custom functions which will call the alert.js functions.
  3. Add a reference to the alert.js web resource on your form or view (the other required files are loaded automatically).
    • For forms, this is simply added through the form properties.
    • For views, add a "JavaScript Function Action" to the "Command Actions" for your button command, calling the alert.js web resource, where the function is "NaN" (without quotes). Using the Ribbon Workbench to edit the command is recommended.
      • Cannot resolve image macro, invalid image name or id.
  4. Add a reference to your custom JavaScript web resource where you're making the calls to alert.js. This should be added after the reference to alert.js.
  5. Call your custom function from your JavaScript library, e.g. from the command bar button, or from the form onload event.

Viewing all articles
Browse latest Browse all 170

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>