-
Popular posts
-
Tags
Add-In Administration BDC CAML Certificate Certifications Configuration Content Types CSOM Database Deployment ECB External Content Types FBA Fields Impersonation InfoPath installation JavaScript jQuery Logging Metadata Properties MVP Packaging Performance PowerShell Provider-Hosted REST Ribbon Search security Self-Signed Certificate SharePoint SharePoint Designer SharePoint Short SP2019 SQL Taxonomy Timers User Control Visual Studio WCF WebPart Workflow Workflow Activity
-
Categories
- .Net (2)
- Deployment (1)
- Development (1)
- General (11)
- InfoPath (7)
- JavaScript (3)
- Office (1)
- SharePoint (110)
- Configuration (15)
- CSOM (2)
- Designer (3)
- Installation (5)
- Security (2)
- Taxonomy (4)
- Workflow (9)
- SharePoint Shorts (22)
- SQL (3)
- Unit Tests (1)
- Visual Studio (4)
Tag Archives: SharePoint Short
Get List Items by Field Value
SharePoint Short #6 To retrieve all SPListItem objects that have a specified field value, instead of writing a CAML query, use the following LINQ statement: public List<SPListItem> GetItemsContainingValue(SPList list, Guid fieldId, string match) { List<SPListItem> matchingItems = (from SPListItem listItem … Continue reading
Disable SharePoint PeopleEditor
SharePoint Short #5 If you have a requirement to disable the PeopleEditor in SharePoint through JavaScript, the following script will do this for you: function togglePeopleEditor(editor, enable) { // Disables the control but still allows the user to type into … Continue reading
Get SharePoint Timer Job Name
SharePoint Short #4 As a follow up to my recent post Start SharePoint Timer Job Script, that demonstrates how to start a specific timer job by it’s internal name, the following is a PowerShell script for retrieving the internal name … Continue reading
Security Trim SPNavigationNode
SharePoint Short #3 To have the URL specified by a SPNavigationNode security trimmed, make sure you do not specify the isExternal constructor parameter. Obviously, specifying true for this parameter would not apply security trimming against the link, as you would … Continue reading
Save Conflict
SharePoint Short #2 In event receivers such as ListAdded, FieldAdded or ItemAdded, if you’re updating the newly created item you may encounter the following error: “Save Conflict” These events are asynchronous by default, so changing them to synchronous will ensure … Continue reading