Some java broke my file
Jun 03, 2019
Firstly, I know java isn't officially supported and I may be screwed but here's the deal. I've got this object that had some working bits of java in it. Mainly to print a results page but they want it to be able to be emailed. So I got some java code from a guy in my office that works in the test form he gave me. So I modified that to fill the body with what I want and put that in and it doesn't work. But also neither does the print bit now and taking out the email code still leaves the print bit broken.
Is there anything I can do short of rebuilding the object to fix this?
Also does anyone know of any hard limits of the java system, such as character/line counts/amount of variables it can pull in etc (what i'm trying to run is 179 lines/4538 chars, mostly being get vars and some html table code for the body. I don't really know if thats alot or not but the one that does work is 32lines/1056char
32 Replies
I would agree and never even looked for it.
So how do you assign another variable from the results.score? I can't see them on the list. Is it just a matter of adding a trigger to +1 to it on each case of a correct answer and track it myself?
Make sure that your ScoreWP variable is a Number type instead of a Text type.
You can also try scrolling to the bottom of list. User defined variables are listed at the top then after the Built-In variables are listed.
It was that I'd put them as text, change to number and they are all there. Makes sense really. thanks.
Keep on going! You must be nearly there.
Just about. It's all sending and everything seems to be working. Now I'm just working on filling the body in a presentable way the system likes and we're golden. You guys have been a massive help. Gotta love this community.
This discussion is closed. You can start a new discussion or contact Articulate Support.