Das Notes Forum

Domino 9 und frühere Versionen => ND8: Entwicklung => Thema gestartet von: KrischanSG am 29.01.10 - 13:19:56

Titel: Client Version ermitteln
Beitrag von: KrischanSG am 29.01.10 - 13:19:56
Hi @ all,

wir nutzen bei uns die Notes Version 8.5. Auf einigen Workstations wird jedoch die Basic, auf anderen die Standard-Edition genutzt.

Ich stehe nun vor folgendem Problem und suche die Lösung: ???
Ich muß in einer Anwendung prüfen, welche Edition gestartet wurde. Wo bzw. wie kann ich das herausfinden?
Ich habe schon die NOTES.INI dahingehend geprüft, aber die gibt nichts her...

Wahrscheinlich wird es wieder nur eine Kleinigkeit sein, aber ich finde sie nicht! :-:
MfG
Krischan
Titel: Re: Client Version ermitteln
Beitrag von: m3 am 29.01.10 - 13:34:34
Zitat
@IsEmbeddedInsideWCT
Returns 1 (True) if any Notes content is open inside Workplace client (even bookmarks)
Returns 0 (False) if this is a standalone Notes environment, or if in the current session, no Notes content is open inside Workplace client

This function allows you to globally enable or disable Notes UI elements depending on whether or not the Notes content is being viewed from within Workplace client.
The Notes 8.0 Standard client returns a value of True, and the Notes 8.0 Basic client returns a value of False.

Zitat
flag = notesUIWorkspace.IsEmbeddedInsideWCT
True indicates that the application is running in the Workplace Client.
False indicates that the application is not running in the Workplace Client.

The IsInCompositeApp property indicates if the current element is a component in a composite application, while the IsEmbeddedInsideWCT property indicates if composite applications are available, whether or not they are being used. If IsInCompositeApp is true, IsEmbeddedInsideWCT must be true.  If IsEmbeddedInsideWCT is false, IsInCompositeApp must be false.
Titel: Re: Client Version ermitteln
Beitrag von: KrischanSG am 29.01.10 - 13:59:20
Zitat
Wahrscheinlich wird es wieder nur eine Kleinigkeit sein, aber ich finde sie nicht!

Thx Martin für die superschnelle Hilfe! Mit "IsEmbeddedInsideWCT" bekomme ich genau die Information, die ich brauche!