@Command( [ToolsRefreshSelectedDocs] ) not working

Hi,

I have created a new comuted field in an old form which looks up for its value from a different database. The value is then displayed in a view.

I have created an agent to refresh all the documents in the view @Command( [ToolsRefreshAllDocs] ).After running this agent some of the documents are not displaying this new value that i am looking up. However when i open the document and check in the document properties the value in the new field is displayed.

I have created another agent @Command( [ToolsRefreshSelectedDocs] )and used in those documents which are not displaying the value.But result remains the same.

How do i refresh these documents so that the value is being displayed in the view.

Thanks for your help in advance.

Subject: @Command( [ToolsRefreshSelectedDocs] ) not working

You put a new field on the form right?

Take note that when creating a new field on the form used by some documents. The value of that field will not be automatically saved as a new field in the existing documents. You need to manually saved these documents to save that value of that new field or create an agent that will add that new field using doc.fieldname=“value” or doc.ReplaceItemValue(“FieldName”,“value”), then save it.