Anthony Musgrove 195 Posted May 25, 2020 Share Posted May 25, 2020 Hi again! I know how to save Plugin configuration using the ApiClient in Javascript. But is there a way to save Plugin configuration on c# side? Usecase - I'm adding an installed package to the configuration (which is a List), I add to it. It doesn't automagically save out to the XML file. I just need something like Plugin.getConfiguration().Save (to XML file). Adding to config: Plugin.getConfiguration().InstalledPackages.Add(this_installed_package); Thank you! Link to comment Share on other sites More sharing options...
Solution Anthony Musgrove 195 Posted May 25, 2020 Author Solution Share Posted May 25, 2020 Nevermind, found it thank you. Plugin.Instance.SaveConfiguration() <3 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now