Skip to main content
Nintex Community Menu Bar
Solved

Nintex Form is not loading embedded js. Trying to print label directly using javascript.


Forum|alt.badge.img+6

Hi all,

 

I have found some javascript that can be used to print directly to a DYMO labelwriter but I can't get it to work properly in a Nintex form.

The form is a basic list of two items to prove the point of printing directly and using the js script.

When I publish the form I get a message "The app Nintex Forms for Office 365 is out of date. Please update the app." (see attachment). I know that this is down to the script as I've come across this before but I wondered if anyone could help me fix this?

 

The script requires the inclusion of a src tag which I think might be the issue (see attachment)

 

Thanks in advance.

Paul

Best answer by scynerp

Since the question was posted I've managed to get assistance from someone who has helped solving the problem.

I now have a working solution to print labels directly from Nintex forms.

The solution required more work on the generated xml and a small bit of work to correct the javascript to suit the requirements.

Thanks for the help initially @Patrick Abel.

View original
Translate
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+8

Hey Paul Scyner​ – I think you're on the right track, the script source tag (<script/>) isn't well formed JavaScript and is probably what's causing you problems if you're embedding the contents of the attached .txt file.

Instead, you might look at referencing your JavaScript library (http://labelwriter.com/software/dls/sdk/js/DYMO.Label.Framework.latest.js​) within Form Settings > Advanced > Custom JavaScript Includes and then calling your function when a button is clicked using the Settings > client click property.

Translate

Forum|alt.badge.img+6
  • Author
  • 19 replies
  • Answer
  • June 14, 2016

Since the question was posted I've managed to get assistance from someone who has helped solving the problem.

I now have a working solution to print labels directly from Nintex forms.

The solution required more work on the generated xml and a small bit of work to correct the javascript to suit the requirements.

Thanks for the help initially @Patrick Abel.

Translate

Forum|alt.badge.img+8

No problem – glad you were able to get it figured out!

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings