Question

Lucas Crawford on Thu, 04 Aug 2016 10:39:50


Hello,

I am trying to get started on utilizing Napa to create a simple add-in in PowerPoint. Before reading further and helping troubleshoot - please just let me know if I should avoid Napa and use Visual Studio. After scouring the Microsoft Dev resources and watching all the tutorial videos, I am unable to replicate the basic examples provided. The guidelines indicate to "use one of our sample manifests as a starting point" which I have done.

I can successfully import the sample manifest into PowerPoint Online. However, I am unable to export export my XML files out of Napa and into PowerPoint for testing / viewing. Specifically, the error indicates: "Add-In Error: Sorry, but we can;t start this add-in because it isn;t setup properly."

I have followed Step #3 as described in this GutHub link:

https://github.com/OfficeDev/Office-Add-in-Commands-Samples/blob/master/README.md

Note that the Napa XML file I am exporting contains the exact same HTML and Javascript code from the provided GitHub example (the basic photo importer add-in). In Napa, I am specifically downloading the .zip file that contains the default agaveManifest.xml.

Is this the correct process to test my add-in or am I missing any steps? At this point, it seems like I am forced to use Visual Studio to create even a basic PowerPoint add-in. Thank you for any future assistance.


Sponsored



Replies

David_JunFeng on Fri, 05 Aug 2016 06:26:06


>>>Is this the correct process to test my add-in or am I missing any steps? At this point, it seems like I am forced to use Visual Studio to create even a basic PowerPoint add-in. Thank you for any future assistance.

According to your description, it seems that you want use NAPA to edit manifest file. If so, it is impossible to edit manifest file from NAPA. So I suggest that you could use Visual Studio to Create PowerPoint add-in.

Lucas Crawford on Fri, 05 Aug 2016 13:53:11


David,

Thank you for your response.

I do not want to edit the manifest XML file - I simply want to export it in order to view my add-in on PowerPoint Online, Desktop, etc.

My main problem is that I cannot export the XML file successfully as indicated in the error mentioned above.

Thoughts on how I can accomplish this?

David_JunFeng on Mon, 08 Aug 2016 08:59:50


>>>My main problem is that I cannot export the XML file successfully as indicated in the error mentioned above.

If you want to export the Manifest XML, you could package an Office Add-in that you create by using Napa

1.In Napa, on the side of the page, choose the Publish button ( Publish button).

2.In the Publish settings dialog box, choose Next.

3.Provide the URL of the website that will host the content files of your add-in (for example, the default HTML and JavaScript files of your project), and then choose Publish.

4.In the Publish successful dialog box, choose the Publish location link.
A document library appears that contains the XML manifest file of your add-in, and the web content files.

Next, manually copy the web content files of (style sheets, JavaScript files, and HTML files) to the web server that hosts the website that you provided in the Publish settings dialog box.

You can now upload your XML manifest to the appropriate location to publish your add-in.

For more information, please refer to Deploy and publish your Office Add-in and Package your add-in using Napa or Visual Studio to prepare for publishing

In addition could you provide detail steps and screenshot, that will help us reproduce and resolve your issue.

Thanks for your understanding.

 

Lucas Crawford on Mon, 08 Aug 2016 22:40:13


David,

I am unable to link pictures or URLs because I have not been "verified" yet as seen here: (https://social.microsoft.com/Forums/en-US/338e5c21-c7e3-4519-8791-f819535be481/verify-your-account-36?forum=reportabug#d47ee6b8-1f2e-4652-920f-519f7df0eae0). Can you verify me??

Per your steps, PowerPoint Online will actually accept the XML file and not throw an error like before! This is great progress.

Unfortunately, the task pane that should display the sample plug-in just continually "spins" attempting to load the add-in. I believe I have setup the free Windows Azure URL correctly (http://projectzena.azurewebsites.net/).

Any thoughts on how I could get this to load properly or what I may be missing? If you can verify me I can upload screenshots!

Again, I am following these OfficeDev steps to attempt to duplicate their sample add-in (https://github.com/OfficeDev/Office-Add-in-Commands-Samples/tree/master/PowerPoint)


David_JunFeng on Wed, 10 Aug 2016 09:17:37


Hi Lucas Crawford,

According to your description, sorry, I am not able to help you verify your account. I suggest that you could upload screenshots on OneDrive, then provide this link. It will help us reproduce and resolve your issue.

In addition you could refer to How to Verify Your MSDN/TechNet Forums Account So that You Can Post Images and Links.

Thanks for your understanding.

Lucas Crawford on Wed, 10 Aug 2016 10:51:07


David,

Thank you for the link regarding verification. I have already performed those steps so I just have to wait until an admin verifies me. In the meantime, can you still assist me without screenshots? I have re-pasted my previous inquiries below:

-----

Per your steps, PowerPoint Online will actually accept the XML file and not throw an error like before! Unfortunately, the task pane that should display the sample plug-in just continually "spins" attempting to load the add-in. I believe I have setup the free Windows Azure URL correctly (http://projectzena.azurewebsites.net/).

Any thoughts on how I could get this to load properly or what I may be missing? Again, I am following these OfficeDev steps to attempt to duplicate their sample add-in (https://github.com/OfficeDev/Office-Add-in-Commands-Samples/tree/master/PowerPoint)

-----

I appreciate your continued patience and assistance.

Lucas Crawford on Wed, 10 Aug 2016 21:24:18


I have now been verified and can post links / screenshots. Attached is a screenshot of the plugin simply "spinning" and failing to load.

Please let me know if there are any other screenshots you would like me to take in order to further troubleshoot. I look forward to your thoughts.

David_JunFeng on Thu, 11 Aug 2016 09:55:55


Hi Lucas Crawford,

According to your description, I suggest that you could make sure that your project run correctly, you could use Visual Studio to create or open your project,then launch Office Add-in Commands project in Office Online, refer to below link:

http://simonjaeger.com/office-add-ins-launch-in-office-online/

Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
Thanks for your understanding.

Lucas Crawford on Thu, 11 Aug 2016 13:47:50


David,

Thank you for that link. As mentioned in the first post of this thread, I do not have experience with Visual Studio and would prefer to just use Napa if at all possible.

Again, I am simply trying to duplicate the sample PowerPoint Add-In command as seen below:

https://github.com/OfficeDev/Office-Add-in-Commands-Samples/tree/master/PowerPoint

----------Start Screenshot----------

----------End Screenshot----------

COMPLETE: Per Step 1 in the above screenshot, I can successfully launch the deployed instance of this sample XML file.

NEED HELP: Per Step 2, the directions to deploy this sample on my own is unclear. Step 2 indicates to "grab the source from its own GitHub project." However, when visiting that source, the project is a Word add-in not a PowerPoint add-in. Where can I find the PowerPoint add-in source project in order for me to deploy this sample on my own.

If this is an error, I tried creating a Channel 9 forum account to further clarify but I get the following screenshot when trying to sign-in to the forum:

----------Start Screenshot----------

----------End Screenshot----------

I sent an email to their "Contact Us" page as well but have not received a response.

Honestly, I just need someone to clarify on how to best create a basic add-in inside of Napa to get my development started.


David_JunFeng on Fri, 12 Aug 2016 09:57:51


Hi Lucas Crawford,

Napa was created with the objective to facilitate a 'lightweight, in-browser experience' to build SharePoint or Office web app in the same browser where they would run. Therefore, we created a first-class development environment called “Napa”, as an online companion to Visual Studio.

“Napa” is a free app for SharePoint. Since “Napa” is web based, you don’t need to install anything on your machine to start developing for Office and SharePoint. Just fire up your browser and start coding. As your application matures and you need more advanced tools, you can seamlessly switch to the more powerful, fully featured Visual Studio IDE, and continue developing there.

For more information, click here to refer about Introducing “Napa” – Office 365 Development Tools

Thanks for your understanding.

Lucas Crawford on Fri, 12 Aug 2016 10:31:00


David,

I understand the purpose of Napa. You mentioned switching to an IDE as the Napa application "matures" but I cannot even replicate the most basic Napa example Microsoft MSDN has provided. I have visited every MSDN resource and attempted to post on all relevant forums but have have not received any relevant feedback.

My Question is: Based on the screenshots previously provided, can you (or another resource, user, etc.) assist me in replicating this Napa sample? Link:

https://github.com/OfficeDev/Office-Add-in-Commands-Samples/tree/master/PowerPoint

If not, I will close this thread and simply mark this answer as "off-topic." I appreciate your continued assistance but I have run out of patience trying to troublehsoot a basic example in Napa for over a week. Thank you for your time and continued responses.



David_JunFeng on Tue, 16 Aug 2016 09:57:14


Hi Lucas Crawford,

Sorry for my reply making your misunderstand, I am not able to find any article about create Office Add-in Commands sample with Napa, So I suggest that you could seamlessly switch to the more powerful, fully featured Visual Studio IDE, and continue developing there.

In addition I suggest that you could submit any feedback to Office Dev UserVoice:

https://officespdev.uservoice.com/

Thanks for your understanding. 

Lucas Crawford on Sun, 11 Sep 2016 15:42:08


The capability is there. However, it appears no one knows how. Thanks anyways.