I'm here again with another question regarding the Spectrum Analyzer, this time, the question is simple "there is a way from a Low Code App to set a preset on a Spectrum Analyzer component?"
At the moment I have a script to create the Preset from the Low Code, but I don't find the right way to set it.
There is the possibility to add a Preset by taking it from the Spectrum Preset Data, but it will not load with the new preset when the user creates a new one via script.
My idea was to have something more like "user create a new preset -> that preset will be immediately loaded on the Spectrum analyzer"
There no other way to retrieve anyway the presets? just via Spectrum Preset Data panel?
Unfortunately the Low Code Apps does not equipped yet for the usecase you describe.
For now, a possible workaround could be to automatically open a popup page after the new preset is created with a dropdown that shows all the possible presets where the user needs to select the new preset to feed to the Spectrum component popup.
We do have plans for the near future that will allow you to feed any value to a component using an action. With this feature, you would be able to feed a Spectrum Preset to the Spectrum Analyzer component with the preset ID returned by your script.
Alternatively we could expose the Spectrum Sessions feed from the Spectrum Analyzer component to your script. Then you can load the preset into the spectrum session from within the script. Let us know if this would be preferred.