-
Upgrade-SPSolution | Installs the newly added features when a solution(WSP) is updated
WSP is the most common and reliable way any developer uses to deploy SharePoint components between different environments. As suggested by Microsoft in this article Upgrading a Farm Solution in SharePoint 2010, there are two ways of upgrading a farm solution. Remove existing solution, and redeploy using the new package...
-
Retrieve Items or Documents from a particular folder of a Sharepoint List or Document Library
Lists and Libraries are the commonly used data storage components is a Sharepoint portal. With data growing huge in the lists, site administrators usually create folders to make the data organized. We use the 'ViewAttribute' of the SPQuery object to fetch all the items from the folders and sub folders....
-
Url Properties of SPSite and SPWeb
There are some properties for SPSite and SPWeb class using which we can get the URL values for the sites and webs. The two most used of these properties are - 'ServerRelativeUrl' and 'Url' As a developer we use the values of the properties for writing some logic for satisfying...
-
Referencing JS Files using Custom Action element in SharePoint
JavaScript plays an important role in a SharePoint web application. So, as we customize a SharePoint site, we might across a situation where we need to add our custom JS files to SharePoint pages. There are number of ways to refer a JS file on a SharePoint Page. Adding a...