Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Rows of items containing columns of information.
1
vote
Truncated/Encoded Internal column name problem
Are you sure your code is correct?
It looks like instead of:
if (ds.Tables[1].Columns.Contains("ows_Weekly Updates-__x002"))
You need:
if(ds.Tables[1].Columns.Contains("ows_Weekly_x0020_Updates_x …
0
votes
Accepted
List item returning weird title
Are you using SPListItem.Title?
You might want to just try:
SPListItem item; // get the item from somewhere
string title = item["Title"].ToString();
1
vote
Is there a way to get column headers to wordwrap in SharePoint lists?
There is also a way to wrap the columns individually using JavaScript by removing the nowrap attribute from the column header.
See Wrap ListViewWebPart Column Headers for more info (shameless link to …
0
votes
Accepted
SharePoint list to track Server CU, SPs, Hotfixes, Date Applied, etc
Why create the list when it already exists? …
1
vote
Accepted
Decipher a list update audit entry
Those audit log entries are for list items. … I can't tell you why they end up that way but I wrote some code that makes them pretty URLs:
const string LIST_ITEM_SUFFIX = "_.000";
if (docLocation.EndsWith(LIST_ITEM_SUFFIX))
{
// this is a list …
1
vote
How do I run javascript or C# on list item submission?
You could use an Event Receiver. From the article:
What is a custom event handler? A custom event handler is a .Net
assembly that contains the additional business logic you need to run
when th …
1
vote
Accepted
Don't show DateTime format on a web part
You can set the DataFormatString property on your date BoundField:
boundField.DataFormatString = "{0:d}";
A similar question was asked on Stackoverflow.
2
votes
2
answers
5k
views
What does the GetListItems query option IncludeMandatoryColumns do?
<QueryOptions>
<IncludeMandatoryColumns>FALSE</IncludeMandatoryColumns>
</QueryOptions>
Further reading:
Unable to get all fields of a list using GetListItems in sharepoint web services
Sharepoint … Lists.asmx: remove “ows_MetaInfo” field from GetListItems method response xml
Why does criteria get ignored by the SharePoint List Service's GetListItems Method
Getting back spurious fields to GetListItems …
1
vote
Accepted
How can I update a list without having my code run on the SharePoint server?
Check out How to: Update List Items. …
1
vote
Statistics for Document / List Item
An option would be to parse IIS's logs. It will give you the detailed log of every URL requested by each user. This is especially helpful when you are trying to track views across the entire farm. You …
7
votes
Accepted
What permissions do I need for a user to see all entries in a list where typical users can s...
See also, Configure whether users can read or edit items in a list. …
0
votes
How do you programmatically create a list using an excel spreadsheet?
NPOI basically gives you the API to iterate over the excel file and then you'd just call SharePoint's API to create a list, columns, and then items. …
3
votes
Accepted
Error code 0x81020073 when calling UpdateListItems of Lists.asmx web service
The problem is that you are using a filepath that is URL encoded (the %20 should be a space):
<Batch OnError="Continue">
<Method ID="1" Cmd="Update">
<Field Name="ID" />
<Field Name="FileRe …