-
Software: 6.2.1 (18825) Use Case:
Steps to reproduce:
I suspect the app stores some internal ID representing the profile as button target and not the name. Hence, when the profiles are deleted, those ID become invalid. Reimporting creates new IDs, and since the old IDs no longer exist, the button profile target properties are set to Default. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi salimv! One way you can work around this is by creating your own "Switch To Profile" action instead of using Stream Deck's built-in Switch Profile action (Note that these only work for profiles that are bundled within the plugin for now). Your plugin's "Switch To Profile" action would use the https://docs.elgato.com/sdk/plugins/events-sent#switchtoprofile If you only want the action to be available in the profile and not visible in the action list, you can use the https://docs.elgato.com/sdk/plugins/manifest#members I hope this helps. Let me know if you have any questions! I will also discuss this with the team to see if there may be a better way to keep track of Switch Profile keys inside of profiles. |
Beta Was this translation helpful? Give feedback.
-
Thank you @ChekTek. This is helpful. We did take the same route to implement our own I have a related followup question for helping with customer upgrades. I now have 5+ profiles to switch between. When the customer re-installs or upgrades the plugin, I have not been able to find a way to also replace the included profiles. The re-installation/upgrade process ends up adding copies of the profile, which means customer have to manually delete all profiles before the re-installation/upgrade. Is there a way to also replace the profiles instead of creating copies every time the plugin is re-installed or upgraded? |
Beta Was this translation helpful? Give feedback.
Hi salimv!
One way you can work around this is by creating your own "Switch To Profile" action instead of using Stream Deck's built-in Switch Profile action (Note that these only work for profiles that are bundled within the plugin for now). Your plugin's "Switch To Profile" action would use the
keyUp
event to send aswitchToProfile
event to Stream Deck.https://docs.elgato.com/sdk/plugins/events-sent#switchtoprofile
If you only want the action to be available in the profile and not visible in the action list, you can use the
VisibleInActionsList
flag in your manifest.json to hide it.https://docs.elgato.com/sdk/plugins/manifest#members
I hope this helps. Let me know if you have any quest…