Passing arguments to xmlhttprequest
Add properties to xhr object, although this is not the preferred approach. 2. Wrap in a function as in: Xhttp.onreadystatechange = function(){callback(x,g);};
Notes, great finds, and more about SharePoint solutions, JavaScript, React, and more.
Add properties to xhr object, although this is not the preferred approach. 2. Wrap in a function as in: Xhttp.onreadystatechange = function(){callback(x,g);};
wp.ts entry file for web part; imports, or inherits, from the BaseClientSideWebPart at \src\webparts\ ts.config.json contains the compiler options. webpart.manifest.json contains properties for the web part. Tip: Use React ComponentDidMount to fetch data and for long-running processes.
If SSRS breaks in your on-premise SharePoint installation, update the password in the following areas in Central Admin: 1. Central Admin > Execution Account > SSRS Service 2. Central Admin > System Settings > SSRS Service Things to check: Execution account plus the password Must be changed when passwords on the servers are updated Makes […]
Just a quick reminder of the various selectors that work well on SharePoint 2010 list forms. For SharePoint 2010 custom list forms, doc mode 8,9 on your master page, use jQuery selectors and use jQuery 1.11. JavaScript selectors for SharePoint 2013 list forms, doc mode 10 and newer on your master page var personnelTypeEl = […]
On-premise SharePoint 2010 and SharePoint 2016 will have a configurable option to allow calculated columns: SharePoint support article about calculated columns Some alternate solutions here: Stack Exchange: Calculated columns are gone
These two references are excellent sources of information regarding the PowerShell commandlet Update-SPSolution for SharePoint 2010 and SharePoint 2013: SharePoint 2010 Web Parts in Action by Wictor Wilen Chapter 7 Microsoft SharePoint 2010 Developer Reference by Paolo Pialorsi Chapter 8
1. In Visual Studio, include your SharePoint 2010 source project in the SharePoint 2013 solution. 2. In the code source files for user controls, change the SharePoint version from 14 to 15. 3. You can either use the new feature that is generated or bring the project items into an existing feature. 4. To bring […]
If you get the following error in a sandboxed Web Part: “The name initializecontrol() does not exist in the current context” Use <sharepoint:scriptlink > for .css and .js.
List based forms are considered browser based forms. Browser based forms can use the InfoPath Username() function to capture the current user account id. The limitation is that you can’t grab user profile properties with this method. Occasionally, you may have a requirement to switch views on a form based on the current user. You […]
Feature upgrades for farm-based solutions need to follow a lifecycle: https://msdn.microsoft.com/en-us/library/office/aa543659(v=office.14).aspx