Knowledge Article - Publish Button

Madhumita Das1
Tera Contributor

@anubhavritolia 

 

How to make 'Publish' button on Knowledge Article visible only if user has 'knowledge' role and user is member of Ownership Group.

 

1 ACCEPTED SOLUTION

anubhavritolia
Giga Sage

Hi @Madhumita Das1 

 

You can put below code in your 'Condition' field of Publish UI Button:

 

gs.hasRole('knowledge') && gs.getUser().isMemberOf(current.ownership_group)

 

 

View solution in original post

1 REPLY 1

anubhavritolia
Giga Sage

Hi @Madhumita Das1 

 

You can put below code in your 'Condition' field of Publish UI Button:

 

gs.hasRole('knowledge') && gs.getUser().isMemberOf(current.ownership_group)