-
Popular posts
-
Tags
Add-In Administration BDC CAML Certificate Configuration Content Types CSOM Database Delegation Deployment ECB Events External Content Types FBA Fields Impersonation InfoPath installation JavaScript jQuery Logging Metadata Properties Packaging Performance PowerShell Provider-Hosted QuickTime REST Search security Self-Signed Certificate services SharePoint SharePoint Designer SharePoint Short SP2019 SQL Taxonomy Timers Visual Studio WCF WebPart Workflow Workflow Activity
-
Categories
- .Net (2)
- Deployment (1)
- Development (1)
- General (11)
- InfoPath (7)
- JavaScript (3)
- Office (1)
- Power Apps (1)
- Canvas Apps (1)
- SharePoint (111)
- Configuration (15)
- CSOM (2)
- Designer (3)
- Installation (5)
- Security (2)
- Taxonomy (4)
- Workflow (9)
- Shorts (23)
- SQL (3)
- Unit Tests (1)
- Visual Studio (4)
Author Archives: Stu
Dynamically load JavaScript file
Sometimes you don’t always want a JavaScript file to load. If, for instance, a control that utilises it is loaded by a page that already references the same JavaScript file, you wouldn’t want to load the script file again. Note: … Continue reading
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
Validation of viewstate MAC failed in AddWrkfl
I recently added a delegate control to a SharePoint solution. The delegate control was used to dynamically insert a custom user control into the master page. Part of the functionality of this control required the use of hidden fields. Everything … 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
Unable to set value of the property ‘aSettings’
I developed a page, inheriting from LayoutsPageBase which was being displayed in a modal dialog using JavaScript similar to the following: <script type="text/javascript"> function DisplayCustomPopupPage() { var options = SP.UI.$create_DialogOptions(); options.url = "http://urltocustompage/page.aspx"; options.title = "Popup Page"; options.allowMaximize = … Continue reading