Showing posts with label 2013. Show all posts
Showing posts with label 2013. Show all posts

March 06, 2014

Hide the recent section in SP2013 webpart

In case you had to hide the recent section in SP2013, the below steps help you to do so

 Create a folder under style lib called “Scripts”  Add the 2  files here
-                Edit the master page and add the following script inside the header:

<script type="text/javascript" src="/Style Library/Scripts/jquery-1.8.3.min.js">//<![CDATA[

          //]]>
          </script>  
          
          <script type="text/javascript" src="/Style Library/Scripts/Functions.js">//<![CDATA[

          //]]>
         </script>


-          Check in and refresh


Special Thanks to my colleagues Maher Hammoud and Ibrahim Kallas



March 13, 2013

Create a Custom Action on a SharePoint List\Library


Custom Action:

This custom action is used to start a specific deletion workflow 

1-      Open main site in SharePoint designer



2-      Go to lists and libraries










3-      Choose the preferred library






4-      Click New Custom action as List Item Menu






5-      Add the action name




6-      Choose “Initiate Workflow”




7-      Choose the preferred workflow ex: “Delete an item”




8-      Click Ok

March 11, 2013

SharePoint PowerShell Useful Commands


SharePoint Power-Shell Useful Commands

Adding a solution :

  • stsadm –o addsolution –name SharePointProject2.wsp

or Using SharePoint Management Shell :

  • Add-SPSolution c:\code\SharePointProject2\bin\debug\SharePointProject2.wsp



Deploy a solution :

  • stsadm –o deploysolution –name SharePointProject2.wsp –url http://moss-server –allowCasPolicies –immediate

or Using SharePoint Management Shell :

  • Install-SPSolution –Identity SharePointProject2.wsp –WebApplication http://sp2010 -GACDeployment