Posts

Showing posts from July, 2014

What are some common errors to avoid when submitting my app to the Office Store?

Image
To help make your app submission as trouble-free as possible, we’ve listed some common submission errors, and how to avoid them, below: Make sure that the app version number on the submission form exactly matches the app version number in the app version manifest. Note You must specify your app version using the following syntax: a . b . c . d Where a is an integer between 1-9999, and each of b , c , d are each integers between 0-9999. For example: 1.0.0.0 6.23.0.1 Make sure that all app locations are SSL-secured (HTTPS). Make sure you specify an icon for your app in your app package or manifest, and that the icon is correctly sized and formatted. For apps for Word, Excel, and Project, you are required to link to an image using the <IconUrl> element in the app manifest. The image specified must be 32 pixels by 32 pixels. For more information, see IconUrl element (OfficeApp complexType) (app manifest schema v1

Validation policies for apps FAQ

http://msdn.microsoft.com/library/office/jj591603#bk_q2 

Error in Installing SharePoint 2013 : Failed to Create Sample Data. An exception of type System.NullReferenceException was thrown

Image
After installing Arabic language pack, I ran configuration wizard but unfortunately i got below error. To resolve this issue pl do the below actions. I resolved this issue by doing these workarounds. Check the these below 2 services started or not, if not start them AppFabric Caching Service SQL Server Agent for SharePoint database And then run the below command through powershell to run the configuration wizard psconfig . exe - cmd Configdb Create SkipRegisterAsDistributedCacheHost

SharePoint Online : Sideloading of apps is not enabled on this site

Image
Please run the below script. Note : Use SharePoint Online Management Shell Download and install SharePoint Online Management Shell   #CODE STARTS HERE $programFiles = [ environment ]:: getfolderpath( "programfiles" ) add-type -Path $programFiles '\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.SharePoint.Client.dll' Write-Host 'Ready to enable Sideloading' $siteurl = Read-Host 'Site Url' $username = Read-Host "User Name" $password = Read-Host -AsSecureString 'Password' $outfilepath = $siteurl -replace ':' , '_' -replace '/' , '_' try {     [ Microsoft.SharePoint.Client.ClientContext ] $cc = New-Object Microsoft.SharePoint.Client.ClientContext ( $siteurl )     [ Microsoft.SharePoint.Client.SharePointOnlineCredentials ] $spocreds = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials ( $us

Difference between event receiver and workflow in sharepoint

 After long search, i got the below ans for above question Event Receivers Workflows Can execute either before or after the operation Always executes after the operation Can cancel the operation Cannot cancel the operation as the item will have already been created Cannot be launched manually by the user Can be started manually by the user Not designed for user interaction Specifically designed for user interaction Can execute in response to many different actions, including deletes Can only execute in response to one of four events – Manual, an item being created, an item being edited, and an item being submitted for approval Must be created in Visual Studio Can be created with Visual Studio, Visio or SharePoint Designer Thanks to the below blog click

MVC Web Service returns - Microsoft SharePoint is not supported in 32-bit process

http://stackoverflow.com/questions/22764925/mvc-web-service-returns-microsoft-sharepoint-is-not-supported-in-32-bit-proces

Get all subsites using SPServices in SharePoint 2013

<SCRIPT type=text/javascript src="/Style%20Library/ReadSubsites/jquery-1.11.1.js"></SCRIPT> <SCRIPT type=text/javascript src="/Style%20Library/ReadSubsites/jquery.SPServices-0.7.2.min.js"></SCRIPT> <SCRIPT type=text/javascript>     var thisSite = $().SPServices.SPGetCurrentSite();     get();     function get() {         $().SPServices         ({             operation: "GetWebCollection",             webURL: $().SPServices.SPGetCurrentSite().toString(),             async: false,             completefunc: function (xData, status) {                 document.write("<table width='100%'>");                               var a = 0;                 $(xData.responseXML).find("Web").each(function () {                     a++;                     var webtitle = $(this).attr("Title");                     var weburlvar = $(this).attr("Url");                     var

You receive error 401.1 when you browse a Web site that uses Integrated Authentication and is hosted on IIS 5.1 or a later version

http://support.microsoft.com/kb/896861/en-us

SharePoint News and Announcements slider using Jquery and SPServices

Image
<script src="/Style%20Library/Announcements/jquery-1.7.2.min.js"></script> <script src="/Style%20Library/Announcements/highslide-with-gallery.js"></script> <script src="/Style%20Library/Announcements/jquery.simplyscroll-1.0.4.js"></script> <link href="/Style%20Library/Announcements/simplescroll.css" rel="stylesheet" /> <link href="/Style%20Library/Announcements/styleforslideshow.css" rel="stylesheet" /> <style> .inner_right_part { } .simply-scroll-list { width: 100% !important; } .simply-scroll-list { position: absolute; top: 0; left: 0; z-index: 1; overflow: hidden; margin: 0; padding: 0; list-style: none; height: 630px; } </style> <div class='inner_right_part'>     <div class='right_inner_content'>         <div id='testimonials'>             <div id='sidebar'>          

After “Export to Excel” button click other click/postback events disabled on SharePoint custom webpart

Solution I used is added following script on the custom web  part <script type="text/javascript" language="javascript"> //sharepoint postback to work after clicking on export to excel button if (typeof (_spBodyOnLoadFunctionNames) != 'undefined' &&                                            _spBodyOnLoadFunctionNames != null) { _spBodyOnLoadFunctionNames.push("supressSubmitWraper"); } function supressSubmitWraper() { _spSuppressFormOnSubmitWrapper = true; } </script> More info :  http://www.faisalmb.com/post/Controls-not-functional-after-Export-to-Excel-or-Export-to-PDF-of-Telerik-in-Sharepoint-Application-page.aspx 

Missing “Save Site as Template” for Publishing Sites in SharePoint 2013?

http://www.learningsharepoint.com/2013/05/03/missing-save-site-as-template-for-publishing-sites-in-sharepoint-2013/