Tuesday, March 05, 2013

SharePoint 2013 Hosted App Validation Checklist

Before submitting an app to the Office SharePoint App Store, you must ensure you have done what you can do, to get it right the first time.

For starters use this check list “Validation checklist for apps for Office and SharePoint”

Then here are some from my own experience.

Validation checklist for submission to the Office Store

IC643463

The app title submitted via the Seller Dashboard, must be similar to that included in your app manifest.
Basically this means that you have to use the same title everywhere.

ManifestAppTitle SellerAppTitle

IC643463 Be sure to implement language. Replace the Language tag in AppManifest.xml.
Because of a bug in developer tool in Visual Studio, you are not allowed to use the correct Language tag, because it fails with a validation error when you build your app. Therefore you have to change the AppManifest.xml after you have package (Published) your app. Use a zip tool to to open up the app and change the AppManifest.xml directly.

Replace :

<SupportedLanguages>en-US</SupportedLanguages>

With:

<SupportedLocales>
  <
SupportedLocale CultureName="en-US" />
</
SupportedLocales>

Update! The SupportedLanguage problem has been fixed in the lastest version of Office Developer Tools for Visual Studio 2012 RTM
IC643463 Cleanup your JavaScript with JSHint or similar tools. Old browser can fail where new browsers don’t. The Internet Explorer 8 is especially bad here.
Optional tool: JSFiddle
IC643463 Your app must be fully functional with the supported operating systems and browsers for Office 2013 and SharePoint 2013.
This means that the app has to function in Internet Explorer 8,9,10.
The F12 Developers Tools, to change the Browser mode will only help see the difference in styling but not in JavaScript.
You need to run it in Internet Explorer 8. I would recommend downloading a VHD image  to test in “Real” environments. Internet Explorer Application Compatibility VPC Image
IC643463 Test the app Online. This is important because Microsoft is apprantly testing the app there themselves.
IC643463 Remember to check you app extensively. This involves the root domain, a sub web site and a new site collection under /sites/. Its important to check is you got all relative urls right.
IC643463 In a licensed app, implemented code for checking this. For SharePoint hosted apps see SharePoint 2013 hosted App License check on how to implement license check.
Also Licensing apps for Office and SharePoint

 

In my experience the approval process are mostly done within a week.

No comments: