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.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,896 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,972 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 20,126 Reputation points Microsoft Vendor
    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 Answers by the question author, which helps users to know the answer solved the author's problem.