As in the Word, the field code. Like {myfield1}. In the document (in case
the more complicated solution when user can add more fields not included
by template), it should be switchable between field code and value. In the
template, switching to value could return empty strings or leave the field
code displayed, no requirements on this.
Actually session dependent. Eg. opened project in the browser. The server
will determine which answer to say and if the caller is authorized to ask.
You wanted me to not write any concrete solutions, but I'm planning this
by HTTP GET request to the server. I can include something like "session
id" and caller authentication into the parameters of request.
I'm already using Microsoft XML 2.0 reference in the VBA project.so the
field actualization from the client side can start with
xmldoc.load("
http://server/getitem.ashx?fieldid=myfield1&userid=callerid")
and answer in the xml format... well actually it could be maybe even a
webservice.
User is free to remove the field as regular Word field. It would be nice
to be proof against accidental changes, and moveable by user using mouse
without need to carefully select all characters.
If someone deliberatery tries to change the field it will be later or
sooner successful, so invalid fields are to be handled by the server. They
can be for example left unattended.