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 |
All commercial releases of SharePoint. Excludes free license versions of SharePoint.
0
votes
1
answer
173
views
Custom information policy : ComputeExpireDate() is not getting executed
I have created a class which inherits IExpirationFormula,in which I have define ComputeExpireDate method which caluclate the expiry date of document.
The issue is that, this method is not getting exec …
0
votes
Accepted
Custom information policy : ComputeExpireDate() is not getting executed
Issue is resolved. Its because VS2012 keeps on deploying old code. Resolved as
Tool--> Options -->Debugging -->General-->Require source file to exact match the origional version(I have unchecked it)
0
votes
1
answer
1k
views
properties.Feature.Parent as SPSite VS SPContext.Current.Site
What is the difference between below way of getting the reference of SPSite object in FeatureActivated() of sharepoint?
1.
public override void FeatureActivated(SPFeatureReceiverProperties
prop …
0
votes
1
answer
135
views
What does COB stands for when a custom tab is defined for Sharepoint ribbon
UPDATE : Sorry for asking such a silly question
While creating custom tab in sharepoint Ribbon we use ID="COB.SharePoint.Ribbon.CustomTab" in XML.
Please tell me the what does COB stands in abov …
0
votes
1
answer
102
views
where does Visual web part and webpart get deployed in sharepoint
Can anyone let me help in knowing the storage location of sharepoint custom webpart deployed as sandbox.
I know that a farm solution gets deployed to Layout folder in sharepoint but where does sandbo …
0
votes
2
answers
2k
views
GetItemById() throws exception value doesn't fall in range
I have a code in which I have to get the properties of selected item
string ID= QueryString["Id"]//this value is taken from url created dynamically and never be null
SPList list = web.Lists["MyList" …
3
votes
1
answer
3k
views
Difference in SPListItem[field_Name] vs SPListItem.Properties[field_Name] in sharepoint
Is there any difference in below statement or are they same?
SPListItem[field_Name] vs SPListItem.Properties[field_Name]
Where field_Name is column name in a sharepoint list.
And which one is bette …
2
votes
1
answer
958
views
ListItemCollectionPosition returning null
I have a list which contains more than 50K docs.
So going with SP recommended approach I have used ListItemCollectionPosition to get items in batch of 2000, but the ListItemCollectionPosition always …
0
votes
Backup-SPsite command
Yes you can do this using powersehll. Refer this article.
For sending email use powershell command Send-MailMessage. More on this from here
0
votes
1
answer
191
views
'System.UnauthorizedAccessException' occurred when try to update term in Term store management
I have a code in which I am updating a term of a term set [Event Receiver]
SPSecurity.RunWithElevatedPrivileges(delegate()
{
//some stuff
Term termToUpdate = MyMethodToGetTerm() //and its always …
0
votes
Accepted
SharPoint 2013: How to find the time elapsed of an item/document
This post resolved my problem.
I have used the jquery plugin jquery.timeago. You can download it from here
2
votes
0
answers
78
views
Merging in tfs removing the package entry in .csproj from sharepoint project
I have a visual studio solution (2012) which contains couple of sharepoint projects.
Each one have package entries in their csproj file.
But when I am doing merging of these projects into other bran …
0
votes
1
answer
32
views
SharPoint 2013: How to find the time elapsed of an item/document
I want to implement a functionality in which I would like to show the time elpased in this format:
16 hours ago.. or 4 days ago
Is there any method exist in Sharepoint CSOM to perform this operati …
2
votes
2
answers
2k
views
Java script alert box is not getting displayed through code behind file C#
I need to implement a functionality in which first I have to show Java Script from code behind file and then user needs to be redirected to other page.
I have used both
this.Context.Response.Write(" …
0
votes
JSOM function not getting called
Replace
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', getSWDocs);
with
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', getSWDocsSuccess);