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

Script to import, export and compare crawled and managed properties between SharePoint farms

I got really excited when using the export-import-mp.ps1 script by Riccardo Celesti that can export and import managed properties between search service applications in SharePoint. However, I would like to compare all exported properties of one environment to a fresh “vanilla” installation so that a documentation can be created. Export the modified managed properties The export-import-mp script is just great, it will export and import managed properties to and from a CSV file.

read more

Filtering CAML queries by time values

When querying a SharePoint list, or creating a view, you can filter using the built-in keyword Today. However, the Today keyword will not return the time, only the date when using a CAML query. First of all, you need to mark the query filter value with IncludeTimeValue as: <Value IncludeTimeValue='TRUE' Type='DateTime'><Today /></Value>However, as the Today field has no time information, this will fail. Instead, create a local variable string today = DateTime.Now.

read more
5 6 7 8