how to work with SharePoint list items, basically performing CRUD operations, using the combination of REST API
and jQuery Ajax. The REST URI ends with any OData query operators to specify selecting, sorting, or filtering
Selecting and sorting items:
$select :
This ' /_api/web/lists/getbytitle('test')/items'...
Showing posts with label SharePoint som. Show all posts
Showing posts with label SharePoint som. Show all posts
Thursday, September 22, 2016
Monday, June 20, 2016
Disposing SharePoint Objects
Yes. It's completely fine.
If you can use like below code in using block:
using(SPSite oSPsite = new SPSite("http://server"))
{
using(SPWeb oSPWeb = oSPSite.OpenWeb())
{
str = oSPWeb.Title;
str = oSPWeb.Url;
...
Wednesday, August 5, 2015
05
Aug
Add-PSSnapin Microsoft.SharePoint.PowerShell
Export-SPWeb "http://raghu/sites/test/test1" –Path "C:\rm.cmp" -includeusersecurity
Import-SPWeb "http://raghu/sites/test/test1" -path "C:\rm.cmp" -IncludeUserSecuri...
Tuesday, August 4, 2015
Add-PSSnapin Microsoft.SharePoint.PowerShell -ea silentlycontinue | Out-Null
Get-SPWebTemplate | ft ID, name, Title, Description -autosize -wrap
...
Monday, August 3, 2015
03
Aug
SQL Server databases have three types of files:Primary data filesThe primary data file is the starting point of the database and points to the other files in the database. Every database has one primary data file. The recommended file name extension for primary data files is .mdf.Secondary data filesSecondary data files...
Labels:
Powershell,
sharepoint 2013,
SharePoint som,
SQL
Search :
Level 1.web application 2.site level
1.webapplication
when user creates using search center we need to config central admin 1.incremental crawl -last updated items (we can set time every half/one hour user defined)
2.full crawl -all items in web application (weekly once or day-wise...
Labels:
Powershell,
sharepoint 2013,
SharePoint som
Wednesday, July 29, 2015
29
Jul
Add-PSSnapin Microsoft.SharePoint.PowerShell
Get-SPUser -web "http://raghu:2015/"
Remove-SPUser "c:0(.s|true" -web "http://raghu:2015...
Tuesday, July 21, 2015
21
Jul
<script type="text/javascript">
$(document).ready(function() {
var managerName;
var userName = $().SPServices.SPGetCurrentUser();
$().SPServices({
operation: "GetUserProfileByName",
...
Labels:
Powershell,
sharepoint 2013,
SharePoint som
Friday, July 17, 2015
Code:
Replace user list id{B7EDD228-FDD2-46D2-A47E-E33D1D27E612}-{80AB3567-18AE-4ACE-A8E5-C86E5285E9C9}
<script type="text/javascript">
$(document).ready(function(){
var SummaryName ="Employee";
$("table").each(function(){
var curTable = $(this).attr('id');
if (curTable == "{B7EDD228-FDD2-46D2-A47E-E33D1D27E612}-{80AB3567-18AE-4ACE-A8E5-C86E5285E9C9}"){
var...
Thursday, July 16, 2015
16
Jul
move-spsite "http://raghuspsserver/" -DestinationDatabase "raghu_contentdbne...
Labels:
Powershell,
sharepoint 2013,
SharePoint som
Saturday, July 4, 2015
04
Jul
When creating new columns, name them without any special characters or spaces. After the column is created, rename it with the special characters or spaces. This way the internal name is "clean".
When you are working with DataViews, some third party controls, and custom Webparts - you must use the internal...
Saturday, June 27, 2015
To determine your disk space usage: 1. Click on "Site Settings". 2. Click on "Go to site admin". 3. Click on "View Site Collection Usage Summary" - note that the maximum amounts listed may not agree with those outlined for your hosting plan. The amounts listed for your hosting plan are the correct limits. 4....
Labels:
Powershell,
sharepoint 2013,
SharePoint som
27
Jun
Types of SharePoint Log Events
Unified Logging System (ULS)
Trace Logs
Windows Event Logs
Logging Database
Health Analyzer
Timer Jobs
Unified Logging System (ULS)
Eye for sharepoint and each event Report generatingWe can see three ways:
SharePoint trace logs
Windows...
Monday, June 22, 2015
22
Jun
Form Based Authentication (FBA) provides your own authentication method using a web form. More and more companies are using FBA as a way of extending a site for non-Active Directory (AD) users.
SharePoint standard installation uses as default AD to query the Domain Controller and to check user credentials through Windows...
Monday, June 15, 2015
15
Jun
Script to clear User Information List
while restoring site back ups, all users from orgin server would be there in destination server which requires some effort for removing. A simple SharePoint PowerShell script to clear the user information list, which in turn removes all users from all groups but not from...
Labels:
Powershell,
sharepoint 2013,
SharePoint som
Thursday, June 11, 2015
11
Jun
Below are few System Requirements for SharePoint 2016:
Scenario Deployment type:
=====================
Processor
RAM
Hard disk
Database server running a single SQL instance
====================================
Development 64-bit,
4 cores
12-16 GB
80GB
Database server running...
Tuesday, June 9, 2015
09
Jun
One more important thing is there will be no SharePoint 2016 Foundation, there will be only SharePoint 2016 Server.
Overall few things are same like SharePoint 2016 requires 64 bit processor with 4 cores. And also RAM 12 to 16 GB.
Below are few System Requirements for SharePoint 2016:
Scenario
Deployment...
the URL with _layouts/15/start.aspx because the new feature Minimal Download Strategy is activated on your site.
Currently in my Sharepoint Site, when I want to go to the main page sharepoint/SitePages/Home.aspx, it actually ends up going to sharepoint/_layouts/15/start.aspx#/SitePages/Home.aspx.
this...
Wednesday, May 27, 2015
$(document).ready(function(){$Text = $("td.ms-cellstyle.ms-vb2:contains('Approved')");$Text.parent().css("background-color", "#01DF3A");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Rejected')");
$Text.parent().css("background-color", "#F90101");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Pending')");
$Text.parent().css("background-color",...
Labels:
Powershell,
sharepoint 2013,
SharePoint som
27
May
Enable-SPFeature –identity V2VPublishedLinks -URL http://YourWebApp
Install-SPFeature V2VPublishedLinks...