i use following code , all done well but javascirpt not working
1 2thanks
kadnarp
i use following code , all done well but javascirpt not working
1 2thanks
kadnarp
Hi.
You can use a REST API call via jQuery.ajax() method.
Let me simplify and give a simple code. Add a new HTML widget and in the date add this Java code:
In this way you can add enviroment data like processInstanceId that is mandatory if you would modify a process instance data.
and add a SimpleButton and add this HTML option:
onclick=“setData();”
Hope that I am clear and it solve your problem
Ciao.
Hi
I am sure about your question. But let me say taht if you would like to add that code in a HTML widget that render a select box and a text and than manage contingency between this select box and the text, you can adda a HTML widget and add this code as widget data:
Let me know if it can help you
Hi
I am sure about your question. But let me say taht if you would like to add that code in a HTML widget that render a select box and a text and than manage contingency between this select box and the text, you can adda a HTML widget and add this code as widget data:
Let me know if it can help you
Hello ,
Thank you so much for your reply
I do ,
Take one html widget field
And on data tab of that field
I put that code
It working fine .
But now
I want to store data which in
Return in text filed into variable of bonitasoft ?
Now how can i achive that
Sir thank you for your reply , but i m totally new in this environment .
i create one html widget now exactly where i should have to write the code which you provided and
i want when click on button . data should be set as well as store on variable for further use
Thanks again for reply .
but due to new in this environment , i need some more detail description
if possible
thanks in advance
Hi, sorry for the delay.
You have to add a HTML Widget. Click on “data” under “General” tab.
click on the little pencil aside the “Initial value”. Then select “script” and past the code above.
Let me know if now it is more clear.
Ciao.
hello,
sir i take one html widget and paste code as data , and take one simple button and paste html option
but when i run form it give error : " error while submitting form"
There is one important piece of information missing here, you must also (for this example) have a pool variable called “testdata” of type text.
Then it will work fine.
regards
please tell me again briefly how to do this
Everything you need is above, there is nothing more to say…
regards