Hi,
I want to make a template stablishing a element documentation in the xml → bpmn:documentation
I try with a property in a template like this:
{
“label”: “documentation”,
“type”:“Text”,
“value”:“Doc example”,
“binding”: {
“type”: “property”,
“name”: “documentation”
}
But doesn’t works
Best Regards,
Nacho
Hi @Ignacio_Requena_Elvi ,
do you want that the documentation field is visible, or do you want to set a predefined value for the documentation?
If you only want, that the properties field for the documentation is visible, you can use this code in your template:
{
"name": "...",
"id": "com.camunda.example....",
"appliesTo": [
"bpmn:ServiceTask"
],
"entriesVisible": {
"documentation": true
},
"properties": [
{
...
}
]
}
Regards
Michael
Hi @MichiDahm ,
I want set a predefinied value for the documentation, thanks in advance.
Regards,
Ignacio
Hi @Ignacio_Requena_Elvi ,
here is the Github project for the Element Templates with an explanation of the usage. I don’t think that setting a predefined value for the documentation is allready possible at the moment. I tried several things on my own but couldn’t set a value for the documentation.
If you really need this feature you can add it on your own or extend the project with a pull request.
Regards
Michael
1 Like
Miles
February 10, 2021, 2:57pm
5
To bring that up again, does anyone know a solution to display a description of a template?
With the 4er Modeler there are a lot of great new things in the templates.
1 Like
Miles
February 12, 2021, 8:55am
7
because of “Lost Forum Posts ” here is the summary:
There is a description property inside the template json.
I created a feature request for a documenation property
1 Like