This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Outlook, VBscript and M-Files handler

Former Member
Former Member
Hello,

I need some help please. I need to know how to handle Outlook from M-Files handler '' for my users, clearly i need to generate a task in outlook.
I try it out from M-Files, direct from Windows in many maners, and it works fine. But not from M-Files directly, for example i dont get the namespace.
Can someone help me please? Here, The code that i have been used:
Const olTaskItem = 3
wstartDate = Now + 1
wdueDate = Now + 30

Set OutlookApp = CreateObject("Outlook.Application")
Set oItems = OutlookApp.CreateItem(olTaskItem)

With oItems
.Subject = "Ma troisième tache"
.StartDate = wstartDate
.DueDate = wdueDate
.Body = "Mon message Mon message Mon message Mon message"
.Categories = "M-Files"
.Save
End With

Set oItems = Nothing
Set OutlookApp = Nothing
Parents
  • Former Member
    Former Member
    For the deployment of the JScript on the localhost to test at first. Under
    ..\Client\Apps\\Sysapps\\

    Appdef.xml - The Guid of the application must be unique


    -
    B0573AE7-C62D-4266-A622-C13148B3CD6D
    internetAfaire
    Sample Application
    -
    -
    main.js





    Main.js
    See the code of the preview posts.
Reply
  • Former Member
    Former Member
    For the deployment of the JScript on the localhost to test at first. Under
    ..\Client\Apps\\Sysapps\\

    Appdef.xml - The Guid of the application must be unique


    -
    B0573AE7-C62D-4266-A622-C13148B3CD6D
    internetAfaire
    Sample Application
    -
    -
    main.js





    Main.js
    See the code of the preview posts.
Children
No Data