Question
How to disable New button on detail sections of some record due some conditions
19:56 Jun 15, 2017
Good afternoon colleagues,
On bpmonline 7.6 I need to disable to add a new detail record due the status of the master record, for example:
On case, if case is closed, disable the new activities button related to the case, only a member of System Administrators user could be.
Thanks in advance,
Julio Falcón
File attachments
Like
1 comments
03:06 Jun 16, 2017
The button is in the BaseGridDetailV2 module. The visibility is bindTo the getAddRecordButtonVisible method. You need to override the activity section, merge the button and bind visibility to a new attribute. Then you need to set the attribute on entity initialized.
Show all comments