diff --git a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs
index 067d8d6c..4e51b5be 100644
--- a/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs
+++ b/PROMS/VEPROMS.CSLA.Library/Config/DocVersionConfig.cs
@@ -85,6 +85,7 @@ namespace VEPROMS.CSLA.Library
}
public DocVersionConfig(string xml)
{
+ if (xml == string.Empty) xml = "";
_Xp = new XMLProperties(xml);
}
public DocVersionConfig()
@@ -92,10 +93,14 @@ namespace VEPROMS.CSLA.Library
string xml = "";
_Xp = new XMLProperties(xml);
}
- internal string GetValue(string group, string item)
+ public string GetValue(string group, string item)
{
return _Xp[group, item];
}
+ public void SetValue(string group, string item, string newvalue)
+ {
+ _Xp[group, item] = newvalue;
+ }
#endregion
#region Local Properties
[Category("General")]
diff --git a/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs
index 09a0f093..782e3a64 100644
--- a/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs
+++ b/PROMS/VEPROMS.CSLA.Library/Config/FolderConfig.cs
@@ -104,10 +104,14 @@ namespace VEPROMS.CSLA.Library
{
_Xp = new XMLProperties("");
}
- internal string GetValue(string group, string item)
+ public string GetValue(string group, string item)
{
return _Xp[group, item];
}
+ public void SetValue(string group, string item, string newvalue)
+ {
+ _Xp[group, item] = newvalue;
+ }
#endregion
#region Local Properties
[Category("General")]