I need to update the hyperlink form control using rest api.
what would be json syntax for updating the following 2 fields using api/enterprise/task-forms/:taskId/save-form
1. hyperlinkUrl and
2. displayText
I tried with the same way of setting the dropdown control, but it didn't work.
Below is my hyperlink control
{ "fieldType": "HyperlinkRepresentation", "id": "formAttachmentLink", "name": "Attachment", "type": "hyperlink", "value": null, "required": false, "readOnly": false, "overrideId": true, "colspan": 1, "placeholder": null, "minLength": 0, "maxLength": 0, "minValue": null, "maxValue": null, "regexPattern": null, "optionType": null, "hasEmptyValue": null, "options": null, "restUrl": null, "restResponsePath": null, "restIdProperty": null, "restLabelProperty": null, "tab": null, "className": null, "params": { "existingColspan": 1, "maxColspan": 2, "field": {} }, "dateDisplayFormat": null, "layout": { "row": -1, "column": -1, "colspan": 1 }, "sizeX": 1, "sizeY": 1, "row": -1, "col": -1, "visibilityCondition": { "leftFormFieldId": "formAction", "leftRestResponseId": null, "operator": "==", "rightValue": "forward", "rightType": null, "rightFormFieldId": "", "rightRestResponseId": "", "nextConditionOperator": "", "nextCondition": null }, "hyperlinkUrl": " ", "displayText": null }
I dont think we can change because it is used for display purpose.
Have you made it editable?
All the options I see is the below 2 screenshots, it gives on option to replace the value from variable or form field.
I tried using the variable, didn't work.
Let me if you have any suggestions or workaround,
This is form control.
do you have this form control editable in user task?
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.