Is <OmitItemsWithDefaultValues> a settable option?

wellread1
2013-08-15
2013-11-06
  • wellread1
    wellread1
    2013-08-15

    The <OmitItemsWithDefaultValues> key does not appear be settable. I expected that setting this key to false would have caused KeePass to write all settings to the keepass.config.xml file. It appears to be ignored. Is this correct? or am I misinterpreting the setting?

    The ability to obtain a config file listing all settings could be helpful when building a KeePass.config.enforced.xml file.

     
  • Dominik Reichl
    Dominik Reichl
    2013-08-15

    OmitItemsWithDefaultValues is an informational property only, i.e. it describes the output that KeePass has created, but KeePass ignores any changes made to it; the serializer sets it to whatever it thinks is the most reasonable.

    Having a method for creating a configuration file containing all items (i.e. including defaults) would indeed be a very nice thing to have. Added to to-do list.

    Thanks and best regards,
    Dominik

     
  • Paul
    Paul
    2013-11-06

    Any news on this?

    cheers, Paul

     
  • Dominik Reichl
    Dominik Reichl
    2013-11-06

    If there would be any news, I'd have posted it :-) It's still on my to-do list.

    Best regards,
    Dominik