Solved

Refeshing Dox or view

Posted on 2004-03-31
2
216 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
2 Comments
 
LVL 24

Accepted Solution

by:
HemanthaKumar earned 250 total points
Comment Utility
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
Comment Utility
Thanx a bunch
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now