Run agent to save documents from view

Hi,

Rather than opening each document, set editmode and then just save, can a agent do same thing?

If any inputs or ideas with code would be great.

Subject: Run agent to save documents from view

@Command( [ToolsRefreshAllDocs] )

Refreshes the fields of all the documents in a view or folder.

Syntax

@Command( [ToolsRefreshAllDocs] )

Usage

A database must be open at the view or folder level.

This command does not work on the Web.

Subject: RE: Run agent to save documents from view

Hey,

I want to schedule the agent with command you gave me. How to schedule it and it should get documents from view?

Is that possible?

Subject: Run agent to save documents from view

Yes, Doc.ComputeWithForm will do essentially the same thing. The only problem is if you have formulas that use UI methods then they will not compute. There are some other issues with ComputeWithForm (do a search) also make sure that you read the Help.

It is not a perfect solution but it generally works well.