-
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)
Tag Archives: SharePoint Short
Client Context in AddIn
SharePoint Short #22 How to get the client context for code in a provider-hosted add-in that is called outside of the SharePoint context. For example, you want a page in your solution to be called directly and not from SharePoint. … Continue reading
Add Field with XML
SharePoint Short #21 A quick short today 🙂 Instead of adding new fields to a content type or list creating the object (SPFieldText, etc.) and adding it, simply pass the XML definition for whatever field you are looking to create … Continue reading
Run With Elevated Privilges
SharePoint Short #20 Instead of explicitly wrapping code in a RunWithElevatedPrivileges block, it’s better to first check if the user has sufficient privileges and only elevate when they don’t. Instead of: SPSecurity.RunWithElevatedPrivileges(() => { // elevated code… });SPSecurity.RunWithElevatedPrivileges(() => { … Continue reading
Custom_AddDocLibMenuItems
SharePoint Short #19 When implementing your own Custom_AddDocLibMenuItems, which allows you to add custom menu items to the ECB of SharePoint items, remember to check for other implementations of this method before your own version. For example: function YourImplementationOf_AddDocLibMenuItems(m, ctx, … Continue reading
Loopback Check and 401.1 Error
SharePoint Short #18 If you’re developing a web service for SharePoint, or trying to access one of the SharePoint web services, through server code and get a 401.1 Unauthorized exception, it’s worth checking if the status of the loopback check, … Continue reading