Outlook set sensitivity level

Rallig

Member
Licensed User
Longtime User
Hello,

I tried to make a new appointment if I use a button. That's no problem.
But the appointment must have a sensitivity level (I prefered "private" :) )

specci48 told me, it is not a part of the outlook.dll.

Does anyone know a workaround ... or is it possible to implement the sensitivity level into the outlook.dll ?

Greetings
Rallig
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
It is possible using the Door library:
B4X:
'obj is an Object, App is an Appointment and AppCol is a PimCollection
Sub App_Start
    App.New1
    App.CreateNew
    AppCol.New1("Appointments")
    App.Start = Now
    App.Duration = 30
    App.Subject = "Test"
    If CPPC Then
        obj.New1(false)
        obj.Value = App.Value
        obj.SetProperty("Sensitivity","Private") 'Private / Confidential / Normal / Personal
    End If
    AppCol.AddItem(App.Value)
End Sub
 

Rallig

Member
Licensed User
Longtime User
:sign0013: , but let me allow one additional question.

What is the meaning of "IF CPPC then" ?
 
Top