Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Refeshing Dox or view

Posted on 2004-03-31
2
Medium Priority
?
223 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 1000 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

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…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 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