Enhanced: Add new enhanced link info to doc version config
Enhanced: Remove a bad comment
This commit is contained in:
parent
09e74a6d34
commit
fea63966fb
@ -145,19 +145,25 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// WILL NEED THIS FOR New/ADD
|
// Add any remaining doc versions to the xml node //Enhanced
|
||||||
//foreach (DVEnhancedDocument edadd in edsToAdd)
|
foreach (DVEnhancedDocument edadd in edsToAdd)
|
||||||
//{
|
{
|
||||||
// // Add (example): <Enhanced Type="Background" ItemID="43138" /><Enhanced Type="Deviation" ItemID="67165" />
|
// Add (example): <Enhanced Type="Background" ItemID="43138" /><Enhanced Type="Deviation" ItemID="67165" />
|
||||||
// // First add 'Enhanced' element:
|
// First add 'Enhanced' element:
|
||||||
// XmlNode newEnhNode = _Xp.XmlContents.CreateNode(XmlNodeType.Element, "Enhanced", _Xp.XmlContents.NamespaceURI);
|
XmlNode newEnhNode = _Xp.XmlContents.CreateNode(XmlNodeType.Element, "Enhanced", _Xp.XmlContents.NamespaceURI);
|
||||||
// XmlNode xnEnh = _Xp.XmlContents.DocumentElement.AppendChild(newEnhNode);
|
XmlNode xnEnh = _Xp.XmlContents.DocumentElement.AppendChild(newEnhNode);
|
||||||
// // Now add the 'Type' and 'ItemID' attributes:
|
// Now add the 'Type' and 'ItemID' attributes:
|
||||||
// XmlAttribute xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("Type"));
|
XmlAttribute xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("Type"));
|
||||||
// xa.Value = edadd.Type.ToString();
|
xa.Value = edadd.Type.ToString();
|
||||||
// xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("ItemID"));
|
xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("Name"));
|
||||||
// xa.Value = edadd.ItemID.ToString();
|
xa.Value = edadd.Name;
|
||||||
//}
|
xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("VersionID"));
|
||||||
|
xa.Value = edadd.VersionID.ToString();
|
||||||
|
xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("PdfX"));
|
||||||
|
xa.Value = edadd.PdfX.ToString();
|
||||||
|
xa = xnEnh.Attributes.Append(_Xp.XmlContents.CreateAttribute("PdfToken"));
|
||||||
|
xa.Value = edadd.PdfToken;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#region DynamicTypeDescriptor
|
#region DynamicTypeDescriptor
|
||||||
internal override bool IsReadOnly
|
internal override bool IsReadOnly
|
||||||
|
@ -350,7 +350,7 @@ namespace VEPROMS.CSLA.Library
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return _Xp["Step", "LnkEnh"]; //KBR - wrong in data/xml?? is in step node not section node.
|
return _Xp["Step", "LnkEnh"];
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user