Getting innerText to work in Firefox and return/set only first node of jQuery.text()

Firefox uses the W3C-compliant textContent property instead of innerText. Most other browsers, such as Chrome and IE, use innerText and, to make things worse, IE does not support innerText. Also, when using jQuery.text(), all text inside the node plus its child nodes are returned, which is not the same as innerText or textContent. To get around this, I wrote a small jQuery plug-in. The code (function( $ ) { $.fn.innerText = function(text) { var ff = (typeof this[0].

read more

Development environment for low-trust: Configuring ADFS

ADFS, or Active Directory Federation Services, is widely used in both on-premise and hybrid SharePoint solutions. This is a technology that you need to get up to speed on and undoubtedly will use or be affected by in the future. In this article, we configure ADFS for our development environment.This post is in the article series “Development environment for low-trust” where we aim to set up an environment that replicates a live production environment as closely as possible.

read more

Development environment for low-trust: Configuring Low Trust Apps

205This post is in the article series “Development environment for low-trust” where we aim to set up an environment that replicates a live production environment as closely as possible. Here, we also switch from High Trust apps to Low Trust apps to support ADFS, Azure AD and future-proof app/add-in models. Sections: Configuring and using SSL Configuring ADFS Configuring low trust apps App Catalog Configuration You must configure a new name in Domain Name Services (DNS) to host the apps.

read more

Development environment for low-trust apps: Configuring and using SSL

SSL/HTTPS is a required step for most SharePoint installations and deployments. The entire web community is moving towards secure communications. However, I still see most development environments set up using HTTP only and I still see many issues when moving to test and production environments, such as mixed content blocking. In this case, the browser will not load resources such as data sources, scripts, CSS files and images as they are in HTTP while the main page is in HTTPS.

read more
1