Solved

Refeshing Dox or view

Posted on 2004-03-31
2
220 Views
Last Modified: 2013-12-18
Hi Guys

A change in direction again

I want to refresh documents with an agent that will sign the serverID

I would either like it do all associated with  @Left(Form;3) = "Req"  or barring that  a view RByType

This would be a one time agent so I would not want to schedule beyond single use

Thanks

James
0
Comment
Question by:adspmo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 250 total points
ID: 10726210
Try this script in an agent. Schedule it to run, Sign the agent with server id and after running remove the schedule option or disable it

      Dim s As New NotesSession
      Dim db As NotesDatabase
      Dim col As NotesDocument
      Set db = s.CurrentDatabse
      searchstr = {@Left(Form;3) = "Req"}
      Set col = db.Search( searchStr, Nothing, 0)
      If col.Count > 0 Then
            Set doc = col.GetFirstDocument
            While Not doc Is Nothing
                  Call doc.sign
                  doc.save True, False
                  Set doc = col.GetNextDocument(doc)
            Wend
      End If

~Hemanth
0
 

Author Comment

by:adspmo
ID: 10726429
Thanx a bunch
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question