93
votes
CSOM vs JSOM vs SSOM vs REST
2013
Model Types:
CSOM: Client-side object model. C# (or Visual Basic) only, use NuGet, at the moment same package for both 2010 and 2013.
JSOM: JavaScript object model. JavaScript only.
SP....
Community wiki
28
votes
Accepted
Reopen Web Part once closed in Web Part Maintenance Page
You cannot open that web part from "Web Part Maintenance Page" again. Instead you have to "Edit Page". Then click "Add web part". From left pane, in the categories click "Closed Web Parts", and then ...
17
votes
Accepted
Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance
I managed to fix this error by following these steps:
Stop the Windows SharePoint Services Timer service (Found in Windows Services)
Navigate to the cache folder
In Windows Server 2008, the ...
15
votes
Accepted
Products Configuration Wizard - Failed to register SharePoint Services
I resolved the issue. It appears based on the Microsoft Knowledge Base information that:
Some document-conversion services in SharePoint Server are not secure when they run in a particular ...
15
votes
CAML Query not limiting rows
Your <RowLimit> tag is inside <Query> tag which is wrong, it should be out side the <Query> and inside <View>.
Try below
camlQuery = "<View><Query><...
14
votes
Accepted
Javascript Does Not Work in Internet Explorer
Delete all the console.log lines from your script. It errors out until the console is open, which is why it suddenly works when you open the console
13
votes
Accepted
The Microsoft SharePoint Migration Tool
First of all, you should be aware of The new Microsoft SharePoint Migration Tool doesn't support SharePoint 2010 yet, it only supports SharePoint 2013.
Ref: Check the MSFT reply on 15/11/2017 (...
12
votes
Accepted
SharePoint 2010 out of microsoft support
Microsoft ends mainstream support for SharePoint 2010 on oct 13 2015.
Now product is already on the extended support which will be end on 10/13/2020
Read complete detail from here: https://support....
11
votes
Accepted
What is Difference between GhostableInLibrary vs Ghostable Files?
In SharePoint, any file (outside _layouts: _layouts is a huge exception to what's following here) is either "ghosted" or "unghosted".
"Ghosted" means the file source (content) is stored on the disk of ...
11
votes
Accepted
Iterating through SPListItemCollection - why foreach is bad?
Generally speaking you will want to use SPQuery to only query items you're interested in.
Unless you're doing
SPList oList = web.GetList("XYZ");
for(int i=0; i < oList.Items.Count; i++)
{
...
11
votes
Accepted
How to get the current list/library name using JSOM?
Use ctx to get current list/library info. For Name or Title, It is
ctx.ListTitle
PS: No callback needed
Following information can be retrieved from ctx about current list/library in SharePoint 2010....
11
votes
Accepted
'ctx' variable in SharePoint
ctx is a global variable. It belongs in the list view pages.
var ctx = SP.ClientContext.get_current();
So if you use above line in any list view pages, it will cause an issue. The value of ctx will ...
11
votes
Accepted
Workflow : test if a value is empty
I just needed to set is empty instead of is equal to. I just didn't know we could do that.
10
votes
Check in all files that are checked out by me
You can use the default Check-In for all files that checked out to you without coding by doing the following :
Create a view in your document library with following columns.
at Filter with Checked ...
10
votes
Accepted
Using CamlQuery in SharePoint 2010
First, The above code is Server-side object model, not Client Side object model so you should use Microsoft.SharePoint not Microsoft.SharePoint.Client namespace
Second, the CamlQuery is used with ...
9
votes
Is there a way to duplicate or copy a list into the same site
You can create a Site Template to create the copy.
Go to the list settings of the list (ListA)
Click save list template on the right list of links
Save the template as something
Click save list ...
9
votes
Accepted
Get all Users with Info(LoginName,Id,Email,Title) in SharePoint 2010 Client Object Model C#
You can query SiteUserInfoList to get all users in a site.
ClientContext clientContext = new ClientContext("http://your site/");
Web web = clientContext.Web;
List siteUserInfoList = web....
9
votes
Should we create large number of folders within a list?
I would suggest you create different content type or use the tagging feature to organize the items.
Check this for the list of Pros and Cons
http://social.technet.microsoft.com/wiki/contents/...
9
votes
Accepted
Is it possible to built a redirect link that redirects you depending on your user group?
You can use different ContentEditor (Script) WebParts for Each Group, set the Target Audience on each WebPart to match your groups.
Inside each Webpart add a script which sets a global _MyGroupName ...
8
votes
Why is my column not shown under “Add a column to show each of these additional fields”?
How about this as a solution,
Say the choice column that you want to use is called 'My Choice', create a calculated column with the formula [My Choice] then this calculated column is available in ...
8
votes
SP2010: Use Workflow to move library item into folder
I know this is an old thread, but after spending a good while looking about I found an OOTB SharePoint Designer 2010 solution for this problem.
To move a document to a different folder
create an ...
8
votes
Can't read from Source file or disk when moving document in Explorer View
I am afraid this is a well known and documented issue, related to WebDav (Web Distributed Authoring and Versioning), FPRPC (FrontPage Server Extensions Remote Procedure Call), SSL enabled ...
8
votes
How to get only custom fields from a list?
In SSOM SPField.SourceId property allows to determine
either the namespace that defines a built-in field or, if it a custom
field, the GUID that identifies the list or Web site where it was
...
8
votes
Accepted
Enabled the anonymous access for entire site collection but getting access denied on list /libraries
When giving anonymous access to a publishing portal or a site with the publishing feature activate, there is an additional feature getting activated called ViewFormPagesLockdown. This feature prevents ...
8
votes
How to get a list of broken links using Powershell? for Sharepoint 2010
Here's a PowerShell function that returns a hash table with all links on a page at a given URL and their status codes:
Function Get-LinksWithStatusCode
(
[string] $Url
)
{
$links = (Invoke-...
8
votes
Accepted
Reliably get attachments for list item
Using SharePoint 2010 JSOM i would suggest the following approach to retrieve list item attachments:
determine whether List Item contains attachments or not via
ListItem.Attachments property
in case ...
8
votes
Accepted
Calculate date minus x days in Designer workflow
For date calculations you can use workflow action Add time to Date Action
In your case it will be like Add -14 Days to DueDate (Output to Variable: YourDateVariable). This will substract 14 days from ...
8
votes
Accepted
Differing ways to make executeQueryAsync calls - Function.createDelegate (is old IE8 code)
https://msdn.microsoft.com/en-us/library/office/dn168907.aspx
states:
SP.ClientContext.executeQueryAsync( succeededCallback , failedCallback )
So in both your examples you are referencing a ...
8
votes
Multi line box Infopath not Word Wrapping in Chrome.
Upload a new css file to the “Style Library”. File should contain the following:
textarea { white-space: pre-wrap !important; word-wrap: break-word !important; }
Go to Site Settings – Look and Feel –...
8
votes
Accepted
Migrate from SharePoint 2010 to SharePoint 2016 directly?
Unfortunately, you have to migrate to 2013 first. The only ways to do it directly ie skipping 2013 is by doing it manually or by using some third party tool or building a tool by yourself.
See this ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
2010 × 8513sharepoint-enterprise × 692
sharepoint-designer × 540
workflow × 529
list × 522
development × 478
sharepoint-server × 473
2013 × 454
sharepoint-foundation × 407
web-part × 359
document-library × 345
javascript × 338
powershell × 337
permissions × 301
search × 282
infopath × 281
designer-workflow × 196
client-object-model × 174
visual-studio × 171
content-type × 145
list-view × 145
jquery × 143
migration × 110
error × 108
web-services × 106