{"id":475,"date":"2017-04-04T00:00:00","date_gmt":"2017-04-04T08:00:00","guid":{"rendered":"http:\/\/officedevblogs.wpengine.com\/?p=475"},"modified":"2017-04-04T00:00:00","modified_gmt":"2017-04-04T08:00:00","slug":"introducing-the-office-add-in-validator","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/introducing-the-office-add-in-validator\/","title":{"rendered":"Validating your Office Add-in manifest just got easier &#8211; Introducing the Office Add-in Validator"},"content":{"rendered":"<div id=\"body-content\">\n<p>Last week, the Office Extensibility team introduced a new enhancement to the add-in manifest validation experience. The <a href=\"https:\/\/github.com\/officeDev\/office-addin-validator\">Office Add-in Validator<\/a> will help you pinpoint errors in your manifest without having to check it manually. Now, you can troubleshoot your manifest directly from a command prompt or Terminal.<\/p>\n<p>&nbsp;<\/p>\n<h3>Find errors in your manifest<\/h3>\n<p>The Office Add-in\u00a0Validator highlights the errors in your manifest and provides links to documentation to help you address them.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/05\/invalid.gif\" alt=\"Gif\" width=\"640\" height=\"360\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Test your add-in on the right platforms<\/h3>\n<p>The validator also highlights the Office hosts that your add-in can run on. We recommend testing your add-in on these platforms before you submit it to the Office Store.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2018\/05\/valid.gif\" alt=\"Gif\" width=\"640\" height=\"320\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Stay up-to-date on Office Store requirements<\/h3>\n<p>The validator provides up-to-date validation feedback at any stage of add-in development. The service checks for the following:<\/p>\n<ul>\n<li>Mandatory namespaces<\/li>\n<li>XML schema validation<\/li>\n<li>Office compatibility<\/li>\n<\/ul>\n<p><strong>Note<\/strong>: Because the validator calls the Store, you must be connected to the Internet when you use it.<\/p>\n<p>&nbsp;<\/p>\n<h3>Install the Office Add-in Validator<\/h3>\n<p>To start using the Office Add-in Validator:<\/p>\n<ol>\n<li>Install Node.js. Go to\u00a0<a href=\"https:\/\/nodejs.org\/download\/\">nodejs.org and download the distribution for your system<\/a>.<\/li>\n<li>Open a command prompt \/ terminal as an administrator, and install the Office Add-in Validator and its dependencies globally by using the following command:<\/li>\n<\/ol>\n<p style=\"padding-left: 30px\"><code>npm install -g office-addin-validator<\/code><\/p>\n<p style=\"padding-left: 30px\">Or if you already have Yo Office installed, upgrade to the latest version by using the following command, and the validator will be installed as a dependency:<\/p>\n<p style=\"padding-left: 30px\"><code>npm update -g generator-office<\/code><\/p>\n<ol start=\"3\">\n<li>Now you\u2019re ready to run the validator. For information about how to use the validator or to contribute, visit <a href=\"https:\/\/github.com\/officeDev\/office-addin-validator\">our GitHub repository<\/a>.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h3>See Also<\/h3>\n<p><a href=\"https:\/\/github.com\/officeDev\/office-addin-validator\">Office Add-in Validator<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/OfficeDev\/generator-office\">Yo Office generator<\/a><\/p>\n<p><a href=\"https:\/\/dev.office.com\/docs\/add-ins\/testing\/troubleshoot-manifest\">Validate and troubleshoot issues with your manifest<\/a><\/p>\n<p><a href=\"https:\/\/dev.office.com\/docs\/add-ins\/overview\/add-in-development-best-practices\">Best practices for developing Office Add-ins<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Last week, the Office Extensibility team introduced a new enhancement to the add-in manifest validation experience. The Office Add-in Validator will help you pinpoint errors in your manifest without<\/p>\n","protected":false},"author":69076,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[18,12],"class_list":["post-475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","tag-excel","tag-outlook"],"acf":[],"blog_post_summary":"<p>Last week, the Office Extensibility team introduced a new enhancement to the add-in manifest validation experience. The Office Add-in Validator will help you pinpoint errors in your manifest without<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69076"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}