Showing posts from January, 2012

What is Impersonation in SharePoint

What is impersonation in SharePoint? Impersonation step is used in SPD workflow’s and it generally means running workflow steps with elevated privileges where the current user won’t have permission to do any action by workflow. When an impersonation step is created and published the workflows will be run on with person who created it. How to add an impersonation step in SharePoint? Only in an impersonation step the impersonation workflow activities can be used. To add an impersonation step in SPD workflow do the below In SPD ribbon go to à Workflow and click Impersonation step   And now we can add the workflow activities in the impersonation step  Using the impersonation step we can add or remove permissions to anyone for the current item.

Hide recycle bin and View all site content links from Quick Launch in SharePoint 2010

To hide the Recyle bin and view all site content links from the Quick launch in sharepoint 2010 follow the below procedure. You need to hide the links in the SP master page. Find the master page v4.master or your custom master page and find head, above head add the following code: STYLE .s4-specialNavLinkList { display:none !important; } /STYLE The two links will be hiddenfrom quick launch...!

How To Hide Sharepoint Ribbon From Anonymous Users

1)      Open your SharePoint master page 2)      Locate this line: <div id="s4-ribbonrow"> 3)      Change it to: <div id="s4-ribbonrow" style="display:none"> 4)      Now find the end of the “s4-ribbonrow” tag and add following block right after it: <Sharepoint:SPSecurityTrimmedControl ID="SPSecurityTrimmedControl2" runat="server" PermissionsString="AddAndCustomizePages"> <script type="text/javascript"> document.getElementById("s4-ribbonrow").style.display = "block"; </script> </Sharepoint:SPSecurityTrimmedControl> 5)      Save the new master page and publish it.

How to add Silverlight webpart in sharepoint 2010

In this article I will explain how to deploy the silverlight application in SharePoint 2010 using Silverlight Webpart. Step 1) Go to the SharePoint site where the silverlight webpart needs to be added. Step 2) Upload the SilverlightApplication.xap to a document library in sharepoint site. Step 3) Create a sample webpart page. Step 4) Open the page in Edit mode and from the ribbon select Editing Tools -> Insert -> Web Part . Step 5) From categories select Media and Content -> Silverlight Web Part -> Add . Step 6) Provide the URL of the SilverlightApplication.xap file and hit OK. Step 7) The web part will be displayed

Promote Repeating table columns in infopath

Promoting all the contents of a repeating table is not possible, but I found a way by using a hidden field which will have all the repeating table values concatenated and we can promote this hidden field to SharePoint. Follow the below steps to promote the columns of repeating table , For teaching point of view I have used two columns to promote , For your point of view you can implement using the below method. Step 1:         Create a repeating table with two columns          Name          Number         Also create two Multi line text box’s to store the all the repeating table values by concatenating with semicolon (;)        Sum of Name        Sum of Number Step 2: Use the below code in fx of the sum of name eval(eval( RepeatingGp , 'concat(substring( my:Name , 1, (current() = /my:myFields/my:FieldsGp/my:RepeatingGp ) * string-length( my:Name )), substring(concat( my:Name , "; "), 1, (not(current() = /my:myFields/my:Fi