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
rumit lumiarumit lumia 

Different functionality save and new button on Community and Classic

Hi,

Is it possible to have different behavior for Save and New button for Community and Classic?
I mean to say in the SFDC classic I need the button to be overridden by a VF page while in Community I don't. So is it possible? If yes, how?

Best,
Rumit
Raj VakatiRaj Vakati
Hi Rumit ,

You can do it based on the page URL . Get the page URL in APEX code and spin your logic based in it 

Thanks ,
Raj