Disable Create button | Community
Skip to main content
akramullak35861
Level 2
August 16, 2019
Solved

Disable Create button

  • August 16, 2019
  • 1 reply
  • 3524 views

We have given Read only access to Campaign management to QA resources, we have a operator group for QA with read only access to the Campaign Management and other folders, this works fine they cannot Save any existing campaign's.

Is there a way to disable Create button in Campaigns ?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Theo_Pendle

Hi, this is a suggestion, I'm ansering from home and I don't have an instance I can test this on from here:

Right-click on the buttons you want to disable and select "View source". Find the <container> that contains the button and add used the enabledIf attribute to enable the container only if users have a certain named right.

On this page you'll find an example of enabledIf and expr used to protect a schema, and here is an example on how to conditionally hide a container. I think the syntaxes are similar, give it a go and tell me if it works

1 reply

Theo_Pendle
Theo_PendleAccepted solution
Level 8
August 16, 2019

Hi, this is a suggestion, I'm ansering from home and I don't have an instance I can test this on from here:

Right-click on the buttons you want to disable and select "View source". Find the <container> that contains the button and add used the enabledIf attribute to enable the container only if users have a certain named right.

On this page you'll find an example of enabledIf and expr used to protect a schema, and here is an example on how to conditionally hide a container. I think the syntaxes are similar, give it a go and tell me if it works

Level 6
October 30, 2021

Hello,

Were you able to resolve this? We are trying to disable the CREATE button on Homepage for all entities as we have provided Read-Only access to business users and while they try to create any campaign / offer the folder structure is slightly different when compared to explorer view.

I tried above suggestion, but I am not able to view source. By source you mean, Edit the XML Source or View Page Source ?

Could you please provide inputs on this

Thanks,

SSB