C1ThemeController remove/update user defined themes

Posted by: santer.p75 on 1 March 2021, 5:07 pm EST

    • Post Options:
    • Link

    Posted 1 March 2021, 5:07 pm EST

    Hello,

    how can i remove userdefined (load from a c1themez file)?

    How can i reload the theme in the theme controller when i change some settings in the c1themez file?

  • Posted 2 March 2021, 1:17 am EST

    Hi,

    You can remove an applied user-defined theme by using the SetTheme() method and passing “null” in place of a theme.

    If you want to reload a theme, then you can unregister the theme and then register it again using the static methods RegisterTheme() and UnregisterTheme() of the C1ThemeController class.

    Please refer to the sample attached.

    If you need further assistance, please let us know.

    Regards.

    Avnish

    C1ThemeUserDefined.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels