Following on from this discussion (document contained in issue)
The table I want to update is in the header of the section 2 and has the placeholders…
@SSFor@, @SSDate@, @SSSurveyors@, @SSNotes@
MadBoy has advised using custom properties. I wanted to update an existing property - something like…
document.CustomProperties["CustomProp1"].Value = “For the Government.”;
However, it seems custom properties are read only, so I need to locate the table and then add the custom property at the correct cell. My problem is I can’t seem to find the table in the document, it’s not in the Document.Table or the Header.Table
I‘ve checked the actual xml of the docx and it’s there, I just can’t seem to find it in the DocX object model.