Wednesday, August 10, 2016

Policy Plus - Load extra options

Some time ago, I wrote the part of Policy Plus that creates all the UI elements for a given policy's extra options. Today I took on the challenging task of writing the functions that populate those UI elements. A new PolicyProcessing static method is responsible for producing one object for each ADMX element. The setting editor dialog then puts those objects into the appropriate UI elements.

Successfully loaded the policy's extra options
I also discovered a problem with the PolFile.GetValueNames implementation: it produced the internal names (which include both the key and value). I fixed it so it only returns the value names. (This matters when loading "list" policy elements.)

The changes are live on GitHub.

No comments:

Post a Comment