Hello,
the modify command does nothing else then setting the status of a document from READ to MODIFIABLE. Once a document is MODIFIABLE it is allowed to offer xapp:edit tag for changing the content of document’s elements.
Therefore, the modify command is necessary if you don’t have a former link to your page sending the modify command.
Regarding your problem with updating of the ‘flag’ element:
(1) Could you change your page by using
<xapp:edit select=“/request/flag” >
</xapp:edit>
instead of a hidden input tag?
(2) Invoke your page. It should show you an input field.
Does it display “007”?
(3) Replace 007 by new value, e.g. 1234
(4) Press the commit button.
(5) Check your database for a document with /request[flag=‘1234’]. You can do this via browser
http://<your tamino url>/<your collection>?_xql=/request[flag='1234']
</pre><BR><BR>Example:<BR><pre class="ip-ubbcode-code-pre">
http://sunwt/tamino/myDB/myCollection?_xql=/request[flag='1234']
Does this work?
Bye,
Christian.
#webMethods#API-Management#Tamino