I have added one button ‘abc’ in worker screen : Work History->Summary. But this button should only enabled/visible for the second company(If you have company DAT and XYZ, only XYZ can have that newly added button). But the ‘abc’ button is visible/shown both the employmenttabpages(DAT and XYZ).
How can I restrict this functionality? Please guide me on this
Hi @jacob.roder ,
Thanks for the reply. But business doesn’t want to use roles and privileges. They expect that the button should be enabled/shown only for the second company XYZ not for the first company DAT)
@Marcus_Mark, add a parameter in the module in which the form of button lies. Write code to make the button visible/invisible based on the parameter. Keep the parameter enabled in XYZ only. Hardcoding is also another approach, but wouldn’t suggest if you plan on adding a new company in future where you may need to add this.