Hi,
Thank you Philip, the example was very helpful to find the solution. Now i have another problem, when i click on upload task document or in any other of the custom task i created the icon does not show inside the task box instead it shows like this:
I dont know how to parametrize the svg so that it fits like the rest of the svg’s inside the task box ,i’m having problems following the documentation, i’m including the code inside PathMap.js like this
this.pathMap = {
…
‘TASK_TYPE_UPLOAD_DOCUMENT’: {
d: ‘M626 103.9C482.9 103.9 339.7 103.9 196.6 103.9L196.6 896.1 803.4 896.1 803.4 286.1C744.2 225.4 685.1 164.7 626 103.9ZM573.9 148.9L573.9 334.8 758.4 334.8 758.4 851.1 241.6 851.1 241.6 148.9C352.4 148.9 463.1 148.9 573.9 148.9ZM618.9 161.2L744.1 289.8 618.9 289.8ZM391.6 182.5L391.6 275.1 285.6 275.1 285.6 354.9 391.6 354.9 391.6 447.5 532.7 315Z’
},
And i also tried adding the height ,width … properties but didn’t work.
thanks for your time.