Disable the Save button in activiti UI

cancel
Showing results for 
Search instead for 
Did you mean: 
Arun_nmc
Active Member

Disable the Save button in activiti UI

Hi,

 

I am in need to  displaying the Save button in the form of the  activiti UI(which is in the activiti product) which displays Save and Requeue button dby default.

is there any configuration that i need to do in order to disable the Save button alone.

Kindly Suggest your thoughts please.

 

Thanks

Arun K

7 Replies
EddieMay
Alfresco Employee

Re: Disable the Save button in activiti UI

Hi @Arun_nmc,

Can I just clarify what you want to do? Do you want to hide or disable just the Save button on the Activit UI? Is this on all places that it might appear?

Thanks

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Arun_nmc
Active Member

Re: Disable the Save button in activiti UI

Hi

 

Thanks for your reply. I just want to hide save button in the task form in the activiti ui.

 

Is there a way i can do this customisation in activiti UI.

 

thanks

Arun K

EddieMay
Alfresco Employee

Re: Disable the Save button in activiti UI

Hi @Arun_nmc,

You could disable the button using jQuery.  You might modify the code here to use an onload handler to disable the button.

Another way might be to look to using ADF to override the UI. 

HTH,

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!
Arun_nmc
Active Member

Re: Disable the Save button in activiti UI

Hi,

Thanks for your reply. is there a way  that the disable/hidden done via the Event in the activiti UI.screenshot.jpg

Arun_nmc
Active Member

Re: Disable the Save button in activiti UI

Hi,

 

Could you pleasse help on suggesting on this pleasse.

Thanks

Arun K

 

jose_leon_coupa
Active Member II

Re: Disable the Save button in activiti UI

I have the same problem. If you find an alternative, would you please share?

 

Thank you.

 

Jose

rbhojani
Member II

Re: Disable the Save button in activiti UI

Try the below command in your formRender event. Hopefully this should work for you.

scope.model.saveButtonDisabled = true;