Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 247559

Re: In my VCO plugin how do I store xml in the plugin config file instead of key/value pairs?

$
0
0

Thank you Joerg! Your comment is extremely helpful for me!

 

You actually brought out a very good point that I haven't thought of - having to restart the VCO sever for the updated configuration to take effect. This does matter for my plugin and my goal is to make it take effect without having to restart the server. So I have these following questions:

 

1. Actually in my plugin I'm calling SDKHelper.savePropertiesForPluginName/getConfigurationPathForPluginName in my workflow, so as long as I can get the updated config by calling  SDKHelper.savePropertiesForPluginName after I called SDKHelper.getConfigurationPathForPluginName withouth having to restart the server, it will be fine with me, could you confirm this? (I'm not using PluginAdaptor for the configuration, I'm simply doing it in an user-triggered workflow).

 

 

2. For saving/loading XML, would you please show me some simple code how to do it? Say I have serialized the XML into a String variable, now how do I save it to the config file, seems like SDKHelper doesn't provide APIs to do this?

 

I'll also take a look at the Powershell Plugin when I have the time, thank you very much!


Viewing all articles
Browse latest Browse all 247559

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>