Share via

Interacting with SharePoint PowerPoint document through add-in/dialog box

Dudekula,Amitabh 0 Reputation points
2024-09-06T11:58:03.8+00:00

We have created add-in to indirectly update content of SharePoint ppt document.

Now we can see presentation content can be directly modified by chatgpt add-in.

We have similar requirement where in data enter in dialog box should reflect immediately in slide.

While exploring the documentation got to know "Do not use a dialog box to interact with a document. Use a task pane instead. ".

Please help us with info any other way to interact with document and update the content of it from dialog.

Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 24,991 Reputation points Moderator
    2024-09-09T05:34:52.11+00:00

    Hi @Dudekula,Amitabh,

    The recommended way to interact with a PowerPoint document from an add-in is to use a task pane instead of a dialog box. However, if you still want to use a dialog box, you can use the Office dialog API to open a dialog box from your add-in. The dialog box can be used to collect input from the user, which can then be used to update the content of the PowerPoint document.

    To use the Office dialog API in your add-in, you can refer to the following Microsoft documentation: Use the Office dialog API in Office Add-ins.


    If the answer is helpful, please click "Accept as Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.