Solved

Refeshing Dox or view

Posted on 2004-03-31
2
218 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LOtus Notes 6.5 low performance 13 36
Domino not switching to TLS 1.0 4 785
how to copy mail box rules from one nsf to another 9 177
Lotus Notes 6.5.5 6 215
  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…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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