Powerpoint Add-In: Is it possible to edit slides during presentation?

Copper Contributor

I am developing an add-in for PowerPoint which receives data from a server with WebSockets. When data is received, I update the slide.

 

But, I want to know if it's possible to update slide content (Text, XmlSvg...) after the presentation is started? And how?

 

Currently, I update content with 

Office.context.document.setSelectedDataAsync(
 myText,
  {
    coercionType: Office.CoercionType.Text
  },
  result => {
    if (result.status === Office.AsyncResultStatus.Failed) {
      console.error(result.error.message);
    }
  }
);

but when I try during presentation, I got an internal error...

 

Thanks for your help

0 Replies