In powershell ISE there is a strange copy paste issue, ctrl+c and ctrl+v does not work as expected if a background powershell management shell window is open. Closing the window fixes this problem temporarily
Thursday, April 9, 2015
Thursday, April 2, 2015
Configuring SharePoint menu items through powershell
SharePoint menu items can be easily configured through powershell scripts, however I found out that Global navigation nodes are empty. The blog below discusses the reason behind it and a solution to update navigation nodes.
http://blog.mastykarz.nl/programmatically-configuring-menu-items-sharepoint-2010/
http://blog.mastykarz.nl/programmatically-configuring-menu-items-sharepoint-2010/
Wednesday, April 1, 2015
Timezone offset comparisons in CAML with UTC parameter
While querying for events in a list which fall under a specified time period, the infopath form works correctly in client side editor, but fails when deployed to a list in SharePoint 2010 server. This was due to daylight saving time conversion of time values entered in our custom infopath form while generating CAML queries. To correctly check values in CAML query a paramter StorageTZ has to be added to the CAML query date time value as shown below
<
Where
>
<
Gt
>
<
FieldRef
Name
=
'Created'
/>
<
Value
Type
=
'DateTime'
IncludeTimeValue
=
'TRUE'
StorageTZ
=
'TRUE'
>
2012-10-24T21:30:46Z
</
Value
>
</
Gt
>
</
Where
>
Subscribe to:
Posts (Atom)
Regex obfuscate email
Use this code in C# to obfuscate email using regex // Online C# Editor for free // Write, Edit and Run your C# code using C# Online Compile...
-
Responsive design http://webdesignerwall.com/tutorials/5-useful-css-tricks-for-responsive-design http://palantir.net/blog/responsive-de...
-
After cloning a git repo of dot net framework website and trying to run it all I could see was this error Turns out the fix was to simply e...
-
To install SQLServer module in powershell we need to add the nuget package provider first with command: Install-PackageProvider -Name NuGet ...