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
Hermann Oure 6Hermann Oure 6 

Disable a page on community onclick button

Hello,

I would like to stop customer interaction on cases with status closed.
Basically when we click on the button "close case" or when we change the satus of a case to "closed".
I would like to stop the customer from making any update in this case.

Such a sharing an update with the share button or "Raise a Concern" by clicking on the button. 
If all the buttons or the whole page could be disabled or put on read only. So it is not possible for a customer to interact with a closed case anymore.

If anyone has a sample code, that would be great.
Thank you.
User-added image

User-added image

Best Answer chosen by Hermann Oure 6
AbhishekAbhishek (Salesforce Developers) 
Hi Hermann,

Right now this feature is not available in salesforce.

An Idea is already been raised for this scenario,

https://success.salesforce.com/ideaView?id=08730000000Bq0b

Please Vote for it so that our product team will review it and implement them in future releases.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. 

Regards,
Salesforce Support.