Link to home
Start Free TrialLog in
Avatar of cheongkabo
cheongkabo

asked on

Process selected document from a view

Currently I need to use an agent to process selected documents from a view. How do I know which documents are selected (selection is depend on user)? Normally I use
Set dc = db.AllDocuments or
Set dc = view.GetAllDocumentsByKey(keys)
But this time I've to make it in another way. Does Notes has any built-in method for this purpose? TQ.
Avatar of pratigan
pratigan
Flag of United States of America image

If your running an agent against a view, you can have the view display exactly what doucments you want and then have the agent run against all documents in the view.  This allows you more flexibility with formulas and scripts.
ASKER CERTIFIED SOLUTION
Avatar of scottrma
scottrma

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cheongkabo
cheongkabo

ASKER

Dear scottrma

Thanks for guidance. This solution is what I'm looking for. TO pratigan, anyway thanks for ur suggestion as well.