Domino 9 und frühere Versionen > ND7: Entwicklung
@SetProfileField([NoPersist]...
rar:
Hi,
kann mir bitte jemand sagen was folgende Formel macht?
xxID := @Text(@DocumentUniqueID);
@SetProfileField([NoPersist]; xxID+"Button3";"1");
Sie hat sich in der Form Notice der Maildb versteckt....
lG
-daniel
eknori:
--- Zitat ---NoPersist option in SetProfileField/GetProfileField
Stop me if you've heard this one:
@SetProfileField([NoPersist];"Value to store";@Username)
This is a neat flag used to set variables in a virtual profile document - it doesn't really exist. It's kind of like an environment variable, except instead of writing to Notes.ini, you're writing to a temporary client session cache.
This only works in the UI between windows in the same database for the life of the current session. Each database has its own NoPersist cache on the Notes client, so unlike environment variables, this will only work in the same database.
Enjoy, who knows until next month, when they very well may show up in the Help File. We'll all wait and see!
--- Ende Zitat ---
Quelle
koehlerbv:
Hochinteressant! Danke, Daniel, für das Entdecken und natürlich Ulrich für die Lösung :)
Bernhard
rar:
Vielen Dank für die Info Ulrich :D
Glaubst du, dass es irgendwie eine Möglichkeit gibt dieses @SetProfileField([NoPersist] in Script aufzurufen, dass ich (wenn ein Dokument geöffnet wird) diesen Wert irgendwie setzen kann? Im Postopen und Queryopen gibts bei der Maske Notice leider nur Script. Und ein Evaluate interessiert meine Maske nicht...
-daniel
koehlerbv:
Wie äusserst sich das "Und ein Evaluate interessiert meine Maske nicht..."? Kannst Du (z.B. per Button) den Wert später nicht auslesen?
Bernhard
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln