function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
IcaroIcaro 

Problem With Close Case Button

HI,

Why when i click on Close Case button it wont disappears from the screen ?
I can close my cases how many times i want... and i dont want this...

Someone know how do i fix it ?

I Looked everywhere on case object and i dont find nothing about it.

Thanks
Anil SavaliyaAnil Savaliya
Hey,

Please check below link and It may helpfull for Hide Close case button.But require some Home component coding.

http://www.tehnrd.com/show-and-hide-buttons-on-page-layouts/
IcaroIcaro
Thank You Anil,
But its the only way ?
I thought it should be an standard functionality of salesforce for casos, it isn't ?
Anil SavaliyaAnil Savaliya
Hey,

I thinks,It's not possible through standard functionality,But you can implement as mention in link.it's not big coding requied.
ShashForceShashForce
Hi,

If you use record types, you can try this:

1.) Create a Closed Case record type.
2.) Assign a page layout to this record type. On this page layout, remove the "Close Case" button.
3.) Create a workflow rule on case object to update the record type field through a field update to change the record type of a case to the "Closed Case" record type, when a case is "Closed", i.e., Closed=TRUE.

This way, whenever a case gets closed, the record type changes, which in turn changes the page layout as well, and this page layout will not have the "Close Case" button.

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank