lotusscript - Cannot enable folder references in Lotus Notes database -
in external program accesses various lotus database following error:
error 4386 occured in line 43: database not support folder references
usually program supposed enable folder references doesn't seem work. asked support , gave me following script enable folder references:
dim session new notessession dim db notesdatabase set db = session.currentdatabase if db.folderreferencesenabled if messagebox ("folder references enabled." & chr(10) & chr(10) _ & "do want disable folder references?" ,1 + 32,db.title) = 1 db.folderreferencesenabled = false messagebox "disabled folder references now.....", 64, db.title else exit sub end if else if messagebox ("folder references disabled." & chr(10) & chr(10) _ & "do want enable folder references?" ,1 + 32,db.title) = 1 db.folderreferencesenabled = true messagebox "enabeled folder references now.....", 64, db.title end if end if
i error in line db.folderreferencesenabled = true
saying same again:
database not support folder references
does have idea on how can enable folder references database?
edit: database in question replication. able enable folder references in original database , folder properties getting copied.
however, replica still throws error doesn't support folder references if try enable them. expected behaviour?
the database must have $folderinfo , $folderrefinfo hidden views support folder references. these views can copied mail template.
... according documentation.
another cause might insufficient access level in acl notesid executes code.
sometimes views broken. delete views $folderinfo , $folderrefinfo , copy these views mail template again.
Comments
Post a Comment