Invisible rules

Hello all,could anybody be so nice and tell me how to solve my problem? I set up some rules which worked fine, but recently I’d like to change some sittings and found that there is no rules on the list. My question is what to do to get those rules visible. Thanks in advance.

Subject: Invisible rules

I’ve seen this before. The rules are stored in hidden field on the calendar profile form I believe.

I have a version of the form in a db with the fields on it but not sure how I can post it to you?

Subject: RE: Invisible rules

Folks, There’s this small peace code that i collect from searchdomino that save me on the daily bases, on removing “Ghost Rules” as i friendly call this bug.

Here it goes

1 - Create a agent on user database (need manager access to do that)

2 - Set the trigger to act on ALL DOCUMENTS IN DATABASE

3 - I use it as a Hidden agent (Agent List Selection).

Sub Initialize

Dim session As New NotesSession 

Dim db As NotesDatabase

Dim doc As NotesDocument 

Dim ff As NotesItem



Set db=session.currentdatabase

Set doc=db.getprofiledocument("CalendarProfile")

Set ff = doc.GetFirstItem("$FilterFormula_0")

Call ff.Remove



If doc.getitemvalue("Use_CalendarRule")(0) = "1" Then

	doc.Use_CalendarRule = "0"

End If

Call doc.Save(True, True)

End Sub

IMPORTANT!: If you are using a clustered environment you need to run this agent on both databases.

I hope it works fine.

Regards

George Araujo

Subject: RE: Invisible rules

Hi George, thank you very much for posting this… It worked like a charm

Subject: RE: Invisible rules

Thank you very much for your response. I’m not sure if I have enought expirience to use forms but I can try. My email adress is grudnick@o2.pl. Thank you very much.

Grzegorz