none
How to use the Dialog API in Office Add-ins with angular2? RRS feed

  • Question

  • Hi Team,

    I am new to office js and angular 2.

    I want to implement oauth in my office add-ins for that i found office js dialog api and go through it and found it is interesting.

    My concern is that i, want to implement it with angular 2 so i am not able to make good architect (flow) of that.

    Expected Result should be

    1) Home page  ( Currently simple html page but i want it is part of angular 2 component)

    2) User will select for login

    3) Dialog open for Login 

    (In dialog first local page and then its redirect to some custom domain page that is outside of current domain)

    4) Callback

    5) Load menus and data after successfully log-in.

    Concern point :

    -After completing oauth, i am loading my angular-2  app.

    I want to do that full cycle with angular 2 app.

    Your help and support will appreciate!

    Thanks in Advance!


    Thanks, Hardik Shah

    Tuesday, March 21, 2017 11:27 AM

Answers

All replies