Skip to main content

Posts

Sharepoint 2013 App Overview

What is a SharePoint App? SharePoint Apps are lightweight self-contained codes, that extend the functionality of SharePoint and resides outside the SharePoint server. The major advantage of  Apps is that since they reside outside the server farm, adding apps to the site does not affect the performance of the SharePoint farm. One of the major issues with solutions in SP2010 was that poorly written custom solutions may bring down the entire farm performance. This can be avoided with Apps. Advantages of using Apps Apps do not reside on SharePoint server, so it does not affect the farm performance as a poorly developed Sharepoint solution Developers can build apps with HTML, CSS, and Javascript. This would bring in developers in non-Microsoft technologies to the SharePoint Platform  Installation, upgradation, and deletion of apps does not affect the site AppStore provides an easy way of downloading Microsoft validated apps Apps have 2 scopes - Web scope and Tenancy sco...

How to show complete errors in sharepoint 2010

Enable Custom Errors: Set the customErrors mode to "Off" <system.web> <customErrors mode="On" /> Change To: <system.web> <customErrors mode="Off" /> Enable the Call Stack Trace: Set the CallStack value of the SafeMode element to "true" <SharePoint> <SafeMode ... CallStack="false" ... > </SharePoint> Change To: <SharePoint> <SafeMode ... CallStack="true" ... > </SharePoint> Enable Debugging Mode: Set batch and debug to "true" Find: <compilation batch="false" debug="false"> Change To: <compilation batch="true" debug="true"> Enable the ASP.NET tracing feature: Include the following line in the <system.web> element of the web.config file. <system.web> <trace enabled="true" pageOutput="true"/> ……. <system.w...

Open webpart maintenance directly in SharePoint

At times we would be faced with situation that the page does not load, due to some webpart issue. In SharePoint 2010, there might be a link in the error message to open the webpart maintenance page directly. In certain cases, it is not provided. So to open webpart maintenance page directly from url just append ?contents=1 at the end of the URL of respective page and SharePoint will open the Web Part Maintenance Page for it. For e.g, if the url is http://sharepointserver/sites/pages.aspx, make the url http://sharepointserver/sites/pages.aspx?contents=1 to open the webpart maintenance page. Note - the user need to have edit access on the page to open the webpart maintenance page.

Redirect to a desired page on click of submit/ cancel button in infopath form

By default, when a user clicks on Submit/Cancel button, the InfoPath list form redirects to the AllItems.aspx page of the list. Instead of redirecting the user to the default view of list, to redirect it to the desired page, append the URL of the InfoPath form with &Source=redirect-url http://xyzportal/..../xyzform.xsn&DefaultItemOpen=1 &Source=redirect-url Also, make sure that in the button properties, in the "Browser Forms" tab, "Always" option is selected.

Modify the height of multi-line column in Infopath 2010

In Infopath forms, we can set the height of a multi-line column to be fixed or dynamic. In case if the height is fixed(which is the deafult option), if there are more number of lines than that can be accomodated, a scroll would appear on the text box. This reduces the readability of the content for the user. To rectify the issue,the height can be set as auto(i.e., height would vary depending on the content) or a constant fixed value as per the requirement. Follow the below given steps to do the same. • Open the edit form in InfoPath designer. • Select the multiline column and then Right click on Text Box Properties. • In the properties window that opens, click on the Tab Size. • To set the height as auto, click on the align button available at the end • To make the height to be fixed, make the changes in the Size section for the height property . • Click OK to save the changes and then save and publish the form for the changes to be visible to the user.

Classes available in sandbox solutions in Sharepoint 2010

Microsoft.SharePoint Microsoft.SharePoint.Linq Microsoft.SharePoint.Search Microsoft.SharePoint.Security Microsoft.SharePoint.Portal Microsoft.SharePoint.Publishing Microsoft.SharePoint.Search.Extended.Administration Microsoft.SharePoint.Search.Extended.Administration.Common Microsoft.Office.Excel.Server.Udf Microsoft.Office.Server Microsoft.Office.Server.Search Microsoft.Office.Server.UserProfiles Microsoft.SharePoint dll Namespaces available in Sandbox Microsoft.SharePoint Microsoft.SharePoint.Administration Microsoft.SharePoint.Navigation Microsoft.SharePoint.UserCode Microsoft.SharePoint.Utilities Microsoft.SharePoint.WebControls Microsoft.SharePoint.WebPartPages Microsoft.SharePoint.Workflow To know the classes that can be used refer - MSDN

Error: Performance Point Service Appication not configured correctly

When trying to add excel service as Datasource in BI center site, it gives an error “This data source cannot be used because PerformancePoint services is not configured correctly”. To solve the issue, do the steps listed 1. Go to Central admin--> Manage Services --> Secure Store services 2. First time when the secure store services page opens, it says that no keys generated. Click "Generate new key" in toolbar and then step through "targetting" and "set" the key sections 3.Go to "Managed Services" in Central Administration and select the respective PerformancePoint Service 4.Open "PerformancePoint Service Application Settings" and add Unattended Service Account which was configured in step 2 Secure Store Service: - This service application stores the password for the PerformancePoint Services unattended account.