none
displayDialogAsync can not navigate to component, (only url opens like google, or direct HTML path works).And if a add Routing in app module gives error. RRS feed

  • Question

  •  i want something like this:-

    Office.context.ui.displayDialogAsync('this.Route.navigateByUrl('/component')');

    Please help how to do it.

    Below thing works, as in task pane entry point is defined.

     Office.context.ui.displayDialogAsync('https://localhost:3000/taskpane.html',{ height: 30, width: 30 });

    and 

     Office.context.ui.displayDialogAsync('https://google.com',{ height: 30, width: 30 });

    Also call back method does not get called even though message parent is defined.

    help me getting message from Dialog to Host.

    Monday, November 25, 2019 11:46 AM