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
Emily PhillipsEmily Phillips 

Custom Buttons do not update / refresh on page layout?

Hi All, 

I have implemented a custom Finish button in a flow based on this post: https://success.salesforce.com/answers?id=9063A000000pzeEQAQ

My flow updates a record's Record Type and subsequently the page layout associated with the updated Record Type. The Finish button returns me to the record, the correct Record Type is selected and everything on the page layout is showing properly except for the buttons. For some reason, the buttons are displayed according to the previous page layout. This seems like a caching issue? Any ideas as to why the buttons aren't updating? 

Thank you!
AbhishekAbhishek (Salesforce Developers) 
Hi Emily,

Try the suggestion as mentioned in the below article,

https://success.salesforce.com/answers?id=9063A000000pJHlQAM

https://success.salesforce.com/answers?id=9063A000000pSM2QAM

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks.