How do you "edit as an expression" in UI?


The tutorial on creating a web service for version 7.3 located here references pre-UI steps when asking the student to create a form and then click on the data tab and then "edit as an expression".

AIUI, the expression editor cannot be used in UI as it "has a different concept of data".

What to do in this situation? There is the 6.x application tab however I would rather not if possible try to learn the legacy way of doing things.

Should I even be trying to insert a script into a table on an application form or is there a different v7 approach for processing data from a web service.



Submitted by kiran.neupane on Mon, 11/07/2016 - 01:28

You have two options, either you need to add script on your process to format the data and feed it to the front end, other options will be to use javascript in the ui to format the data.

Submitted by the_antman on Mon, 11/07/2016 - 14:26

OK, understood, I guess that I'd be matching the data to be fed through to the form through a contract?

I'm just trying to get the tutorial working an it is falling over when I add the groovy script to display the data from the web service on the table


The message fedback says "Groovy:unable to resolve class" in reference to "Entry".

Anybody any ideas?

Submitted by the_antman on Wed, 11/09/2016 - 18:13

For what it's worth, if anybody comes across the last case, Groovy:unable to resolve class, then you have to qualify the class with the "Map." prefix, then the error messages go away.

Note to documentation editors - the documentation for 7.3 is missing the following line

import java.util.Map.Entry;

which is present in the same page in 7.2 for the web service connector tutorial

1 answer


Use the version 7.2 documentation for this tutorial, the 7.3 is missing a line for the text to be pasted in.