When my custom component is dropped into a page in Lightning App Builder, I'm using the .design file in the lightning component to expose global attributes that affect the app layout and feature enablement. The admin makes those selections and saves the page with those global values.
When the page loads for a user, it picks up the values for the global attributes from the previously saved page.
Are those values accessible to set? Here's why I'm asking...
I'd like to use the color picker to set a global attribute. The design:attributes only support checkbox and picklist, not color picker, or date picker, or lots of other handy components.
I noticed that in Lightning App Builder, my component is "live" -- when I make a setting change on the right side, the component immediately reloads with that new setting. So I added a "Show Configuration Wizard" checkbox, which launches a modal in my component. That modal can contain a color picker or date picker, or dependent picklists, or whatever. But after picking the value, I need a way to set that value for the page in Lightning App Builder -- not just in the currently running instance of my component.
Can I do that in Apex?