Skip to main content
Nintex Community Menu Bar
Question

Using JS-Insert with Nintex Workflow start form

  • June 22, 2026
  • 4 replies
  • 24 views

Forum|alt.badge.img+3

Hi there Nintex Community,

I have a trial tenant for Nintex Workflow Cloud.and used the Nintex Gallery JS-Insert installation steps to register the plugin in my Nintex Automation Cloud tenant using plugin hosted at

https://ashleypresalesfunctions.blob.core.windows.net/nac-plugins/js-insert.js

I was then able to drag the JS-Insert control onto my Nintex form start event form, however when I select the JS-Insert control I only see a single line element to enter the in the JS to Execute field as below:

These posts indicate multiple lines of JS are possible.
JS-Insert Functions to Execute | Community

Examples of JS-Insert usage | Community

Is this a limitation of the hosted plugin I am using at “https://ashleypresalesfunctions...”?

I also downloaded the template js-insert.zip file and tried to “Add plugin” and select the downloded  js-insert.js file, but that generated an error “Failed to load the plugin definition”

Does anyone know if this js-insert plugin supports multiple line JavaScript?

4 replies

Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • June 22, 2026

Hi ​@scottiwillis,

Yes, the plugin supports multiple-line code.
Just paste it all into the js-to-execute field.

You can't import the file because Nintex currently supports single-file imports.
If you look at the code in the downloaded file, you will see that it is also calling:
https://ashleypresalesfunctions.blob.core.windows.net/nac-plugins/query-assigned-elements-0bb34a8a.js
Hence, this is a multi-file plugin.
 

You either need to host the two files yourself or bundle the two files together into a single file.


Forum|alt.badge.img+3
  • Author
  • Rookie
  • June 22, 2026

Thanks ​@Simon Muntz. The Nintex, Gallery, JS-Insert page has incorrect instructions then:

“Download this plugin to quickly add custom JavaScript snippets to your Nintex Automation Cloud Forms without complex setup.”

Installation:

  1. Download the plugin zip file
  2. Register the plugin in your Nintex Automation Cloud tenant
  3. When registering, use the following element name:

js-insert

There is no indication that 2 files need to be downloaded, just advises downloading the zip file and then register 🙄

I was hoping to be able to use the js-insert plug-in to insert JavaScript to call our web API’s to retrieve employee data from external systems (SAP) ie the logged in users position number. We do this now with our on-prem Nintex Workflow 2016 tasks. Having a single line for JavaScript seems a bit restrictive and hard to maintain. I assume this plugin is just intended to add minor functionality changes to controls?


Simon Muntz
Nintex Partner
Forum|alt.badge.img+23
  • Nintex Partner
  • June 22, 2026

Hi ​@scottiwillis,

This is a common point of confusion when working with the Nintex forms JavaScript plugin. Regarding the Gallery documentation, if you find the instructions unclear or incomplete, I'd recommend reaching out directly to Nintex Support to request clarification, as community guidance can sometimes lag behind product updates. On the plugin itself, while the input field may appear to only accommodate a few lines of code, it does in fact support larger scripts. I've personally pasted substantial blocks of JavaScript into it and had it function exactly as expected, without needing to create a custom plugin. So don't let the size of the input field limit what you try. If you do find the native plugin too restrictive for your use case, you have a couple of options:

  • Develop a custom plugin tailored to your specific requirements
  • Engage a Nintex Partner — our team at Definiti regularly assists organisations with custom Nintex development and would be happy to have a conversation if that would be useful.
  • Hope that helps — feel free to reply if you have further questions.

Forum|alt.badge.img+3
  • Author
  • Rookie
  • June 23, 2026

Thanks for your helpful advice ​@Simon Muntz. I will explore the js-insert plugin a bit further to see if that meets our requirements before going down the path of a custom plugin.

Thanks again. Scott.