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
Alex Nussey 3Alex Nussey 3 

Storing persistent data in a Lighting Component

Is there any way for me to store data within a Lightning Component? I want to have some information that gets used by each instance of the component and persists across page reloads and different users throughout the org. It needs to be user editable, so it can't be baked in to the code.

Thanks!
Tarun J.Tarun J.
Hello Alex,

Check if you can use Utility Bar for your requirement. You can build a custom component which will bring data from data base and display across all pages under Utility Bar. You can also achieve editable behavior in this way.

-Thanks.
TK