04-08-2013 12:40 PM
Hello,
I use nuxeo workflow in nuxeo studio.
I defined fields on a task. As "name", "firstname".
I would like to force answers on this fields to "uppercase".
Is it possible on nuxeo studio ?
thank you
04-22-2013 11:54 AM
Hello Me
Solution is based in two operations:
Created a css style class or use balise "style" with transformation of text inserted "just for visibility "
text-transform:uppercase;
Accents are still possible at this time and the texte is not yet register in uppercase.
After click to go to next node, use an automation chain this way: Choose ONE of this TWO =>
WorkflowVariables["varvar"]=WorkflowVariables["varvar"].toUpperCase();
WorkflowVariables["varvar"]=org.apache.commons.lang.StringUtils.upperCase(WorkflowVariables["varvar"]) ;
and then do :
WorkflowVariables["varvar"]=org.nuxeo.common.utils.StringUtils.toAscii(WorkflowVariables["varvar"]);
05-06-2013 11:43 AM
Hello,
A blog post on this topic has been posted: http://www.nuxeo.com/blog/development/2013/05/red-uppercase-nuxeo-studio/
Thibaud
06-14-2013 12:25 PM
Ok, thanks making a post for more details, but don't forget to refer the original answered ticket in your blog, please.
06-17-2013 01:32 AM
The "original source for this information" (as you commented on the blog) was not your reply. The blog was written a few days after the question was posted, and because it is longer than our usual blogs, it took way more time to proof-read and then to publish.
06-17-2013 06:14 AM
And please think to mark the best answer of your question.
10-10-2013 11:07 AM
All right! I forgot rule N°2
10-17-2013 02:12 PM
Wondering what's rule number 1
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.