Das Notes Forum

Domino 9 und frühere Versionen => Administration & Userprobleme => Thema gestartet von: Emmy2000 am 25.03.03 - 16:59:30

Titel: Schablonenwechsel
Beitrag von: Emmy2000 am 25.03.03 - 16:59:30
 ???
Hallo Leute
Ich habe das Problem, wenn ich auf einer 4.6er Maildatenbank die Schablone Mail50.ntf wechsle, dann verschwinden alle Mails aus dem "Eingangsordner" und es werden neue Mails auch nur noch im Ordner "Alle Dokumente" angezeigt. Hat einer eine Idde, wie ich das wieder hinbekomme?

Gruß
Emmy2000
Titel: Re:Schablonenwechsel
Beitrag von: robert am 25.03.03 - 17:41:04
Hi Emmy2000,

soweit ich weiß, kriegst du das so nicht wieder hin. Hab da auch schon viel mit rumgebastelt, hier aber noch was aus meiner KNbase

Recovering documents back into restored inbox


Beschreibung:





Some users' are quite itchy with their hands and they will accidentally delete away their INBOX folder.



If you recover the inbox folder from the mail template, you discover that all entries are gone! You may ask yourself with a sigh, "Do I really have to go through the hassle of recovering the mail file from backup?"
Here's a solution without having to go through all those troubles...

Code

(1) Firstly, copy the INBOX folder design element back to the mail file.
(2) Open up the hidden view ($Sent) and copy its first column formula i.e... @If(DeliveredDate=""; @If(PostedDate="" | @IsUnavailable(PostedDate); 58; @If(Importance="1";124;122)); 0)
(3) Open up the hidden view ($All) and paste the copied formula into the view selection and make a negation of it (this will filter off all posted documents) i.e... SELECT !@If(DeliveredDate=""; @If(PostedDate="" | @IsUnavailable(PostedDate); 58; @If(Importance="1";124;122)); 0)
(4) Go to the "All Documents" view and drag all the documents into the new Inbox folder.
(5) Finally, set back the view selection formula for ($All) view i.e... SELECT @All

Vielleicht hilft dir das

Gruß

Robert