jetstreamapp / jetstream

A better way to work on Salesforce
https://getjetstream.app/
Other
84 stars 18 forks source link

Global Anonymous APEX #690

Open AndyHaas opened 9 months ago

AndyHaas commented 9 months ago

Give use the ability to use anonymous apex regardless of the org and be able to save the anonymous apex code.

paustint commented 9 months ago

@AndyHaas

regardless of the org Do you just mean accessible somewhere like the top application header (like "go to record") to quickly pull up an anonymous code editor in a modal from any page in the app type of thing?

AndyHaas commented 9 months ago

Like we have in Quries where we can save or access across all orgs it would be nice to have that same functionality in anonymous apex. Like when we do a SF refresh we run this apex code each time to do X thing. Again if your username changes then we have to have a new org selector and not reauth with that same username which would keep that anonymous apex.

The reason this is coming up is I just recently had a username change and lost all of the anonymous apex I was running for that client. Nothing critical, but now I have to re-write it again when the need comes up.