Domino 9 und frühere Versionen > Entwicklung
@IsNewDoc simulieren
TMC:
Ich habe mittlerweile entdeckt, dass in ND6 die Hide-when-Formeln im Mailtemplate angepasst wurden.
Im LDD wurde mir auch bestätigt, dass es so keine Möglichkeit gibt:
--- Zitat ---Posted by Stan Rogers on 8.Sep.04 at 18:28 using a Web browser
There's nothing you can do about @IsNewDoc; that property is read-only, and is only ever true when a document is being composed (i.e., a blank form is open to the UI). In this case, you are editing an existing document, even though that document has never been saved.
You can still tell whether or not the document has been saved using NotesDocument.IsNewNote, but there's no equivalent in Formula Language (no @IsNewNote), since Formula Language does not differentiate between UI and back-end documents. Your problem is not that the @IsNewDoc = @False, it's that you're relying on a hide-when formula that came in the box. You'll need to either modify the hide-when ( PostedDate="" makes a good formula ) or live with the Forward button being present.
--- Ende Zitat ---
Meine Antwort:
--- Zitat ---Thanks, Stan, for your response.
This confirms my investigations and experiences so far.
By the way, I found out that IBM has improved the ND6-mailtemplate hide-whens: when I use use my Script in an ND6-environment, the Forward-button does not appear.
So, it is only a matter of time :-)
Thanks,
Matthias
--- Ende Zitat ---
Ergo: ;)
Navigation
[0] Themen-Index
[*] Vorherige Sete
Zur normalen Ansicht wechseln