Hardcoded style system
Hello,
As we know, there are restrictions on loading the style system in targeting mode. I’m trying an alternate approach: checking if the mode is edit or targeting, and then loading the style system tab in the dialog only for targeting mode (loading from the dialog with hardcoded values, not from editable template policies).
For my use case, I don’t need the “paintbrush” icon indicating the style system in targeting mode, as long as the style system is available when opening the dialog. I plan to use the same styleIds, hardcoded in the dialog dropdown for selection.
I’m just checking if anyone has tried this approach and found it successful. Please let me know.