Alpha Video Training
Results 1 to 2 of 2

Thread: Office 365

  1. #1
    Real Name
    Alan Owen / Toby Burton / Jamie Eccott
    Join Date
    Feb 2010

    Default Office 365


    We have a client who use Office 365 and want to integrate the Calendar and tasks into our Alpha Web App. Has anyone used the Office 365 api at all?

    Basically, we want to write a link to a task or a calendar entry back to a particular contact. So we would need to write the calendar to Office and attach a unique ID which would link it back to the contact.

    Any ideas would be appreciated.



  2. #2
    Real Name
    Join Date
    Oct 2015
    Perth, WA Australia

    Default Re: Office 365


    I would look into using node js and depart it and use xbasic to call the service to perform the operation. various examples ( otherwise you will need to build your own wrapper in xbasic using cURL or figure out the oauth in xbasic using named providers and the settings in json behind the scenes - all of this is not documented as yet larger due because its not working a believe and its features that are coming to be made available in the future i would believe. currently its used to log in via alternative method ie using Office 365, google facebook etc

    Named Providers.jpg

    Using Node in Xbasic

    function Callnode as c (e as p)

    'Passed in within e is e.jsfile which represent the base javascript file to execute (Make this setting in the AJAX callback dialog builder)

    dim p2 as p
    'specify any variables you want to pass to the Node service
    'p2.firstname = "Nellie" 'Example of variables you call pass to the node function / server
    'p2.lastname = "Jones"

    dim nodeup as c
    ' Run the node service
    nodeup = node_request(e.jsfile,p2,.f.,.t.)
    nodeup = json_sanitize(nodeup)

    'Parse the results

    dim results as p

    results = json_parse(nodeup)
    Callnode ="{dialog.object}.runAction('Open_Auth');" 'Im returning JavaScript to run an action to open up a dialog to make the authentication call

    end ' testing so break here

    end function

Similar Threads

  1. Need Advice: Dump Office 365 and go back to Office ####?
    By MoGrace in forum General Questions
    Replies: 9
    Last Post: 08-05-2016, 10:37 PM
  2. using Office Web Components
    By KYBiggs in forum Archived Wishlist
    Replies: 2
    Last Post: 01-26-2011, 09:17 AM
  3. ,dbf and Open Office
    By forskare in forum Alpha Five Version 9 - Desktop Applications
    Replies: 5
    Last Post: 02-15-2009, 12:15 AM
  4. Open Office
    By jkukuda in forum Alpha Five Version 8
    Replies: 1
    Last Post: 05-16-2007, 09:50 AM
  5. Away from the Office
    By Selwyn Rabins in forum Alpha Five Version 5
    Replies: 7
    Last Post: 11-21-2002, 03:09 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts