You need to sign in to do that
Don't have an account?
David Ovella
In my standard page, Can a button be shown depending of the value of a custom field?
Hello experts
this is my standard page, and the button that I want to appear/disappear is "Crear Factura" depending of
the value of the field "Sucursal__c" which is a picklist
If(Sucursal__c=="Maker Centro",true,false)
How can I do this in the standard page?
any code would be really helpful
this is my standard page, and the button that I want to appear/disappear is "Crear Factura" depending of
the value of the field "Sucursal__c" which is a picklist
If(Sucursal__c=="Maker Centro",true,false)
How can I do this in the standard page?
any code would be really helpful
follow the below steps...
step 1)
Create two recordtypes of ur object,names like DisableButton ,EnableButton
for EnableButton,assign pagelayout having "Crear Factura" button
for DisableButton,assign pagelayout which is not having "Crear Factura" button
step 2)
write a trigger like below(replace yourobject__C with ur object)
All Answers
follow the below steps...
step 1)
Create two recordtypes of ur object,names like DisableButton ,EnableButton
for EnableButton,assign pagelayout having "Crear Factura" button
for DisableButton,assign pagelayout which is not having "Crear Factura" button
step 2)
write a trigger like below(replace yourobject__C with ur object)