cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide or lock toolbar fileds by using script

Former Member
0 Kudos

Hi experts,

Could you please let me know how to lock or hide toolbar fields by using script.

Thanks,

Pavan

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi Pavan,

It's not clear to me what you mean by toolbar fields. Could you elaborate?

Using scripting, it's possible to lock fields but not hide them.

Regards,

Vikram

Former Member
0 Kudos

Hi Vikram,

Requirement is In contract document (Goto Agreement --> select contract Document --> select or create any contract document)

toolbar we have EDIT , Document , Actions, Phases ,

we need to write a script to lock(or hide) Actions in above .

Thanks,

Pavan.

Former Member
0 Kudos

Hi Pavan,

I dont think its possible using scripting because I don't find any APIs for toolbars.

However, you can achieve this using toolbar customization.

You can use the following config :

Customization Type: Business Object

Target Class ID: Contract Document (2002)

Target Toolbar ID:system.toolbar.document.doccommon.contractdocument.contractdocumentactions.actions

Overrides:

Hidden -- Yes

Let us know if you are looking for something else.

Thanks

Devesh