WebQuerySave agent not working after refresh

I have a WebQuerySave agent which loads and works completely fine when a document is opened and saved.

I also have a refresh on keyword change, which when the keyword is changed adds the following to the URL:

&Seq=1#_RefreshKW_ImageDocument

Unfortunately if the document is then saved, the WQS agent doesn’t run.

I know the agent is OK because it runs without the extra part of the URL, but not after a refresh.

Any ideas?

Thanks in advance

Geoff Poole

Subject: WebQuerySave agent not working after refresh

The WQS runs before the save is called, if save is called from another routine WQS will not trigger, you may have to run that code manually

Subject: RE: WebQuerySave agent not working after refresh

Thanks for you response.

I am aware that the WQS runs before the actual save takes place.

The issue is that saving the document works correctly, if the field that refreshes the document on keyword change hasn’t been changed.

The button that I use to save is exactly the same button, but if the keyword field which contains the refresh document on keyword change, then the WQS is not executed, even though it is executed if the keyword has not been changed.

TIA