Archive
Current Year, Month and Quarter in JavaScript #SP2010 #SharePoint #PS2010 #MSProject #ProjectServer #in
Just a quick post to show some useful JavaScript I have been using this week.
In particular a one liner to work out the current quarter.
1 var currentYear = (new Date).getFullYear(); 2 var currentMonth = (new Date).getMonth(); 3 var currentQuarter = Math.floor(((currentMonth + 11) / 3) % 4) + 1;
I’ll be speaking at the Cambridge #SharePoint User Group 20th September 2011 #SP2010 #PS2010 #ProjectServer #MSProject
Another quick post to say that I will be speaking at the next SharePoint User Group meeting in Cambridge (where I tend to spend my life these days).
Integration of Project Server and SharePoint 2010
Not just another Managed Service within SharePoint
Now that Project Server is part of the SharePoint Server 2010 Enterprise (as opposed to the “special” version of WSS 3.0 in Project Server 2007) suite there are a number of things about Project Server that just do not conform to the standard SharePoint techniques.
I’ll be covering major differences and gotcha’s around the two products including customisation, business intelligence, permissions and more…
I will of course be around afterwards for a pint or two as well ![]()
Further Details
About
The next Meeting for the East Anglia user group will be held on the 20th September in Cambridge.
Agenda
- 6.30pm – Registration
- 6.45pm – Symon Garfield
- 7.45pm – Break
- 8.15pm – Giles Hamson
- 9.15pm – Close and Sharepint
Speakers
-
Symon Garfield (Chief Technology Officer, ICS Solutions) (@symon_garfield)
-
Giles Hamson (Senior SharePoint Consultant, Coporate Project Solutions) (@ghamson)
Location
Holiday Inn Express Cambridge
15-17 Coldhams Park
Norman Way
Cambridge
CB1 3LH
United Kingdom
Map Location (open in new window)
Registration
To register please go to http://sugukea006.eventbrite.com/
Forum Thread
http://suguk.org/forums/thread/27260.aspx
Let us know you are coming on the forum for further discussion and the latest details.
#SharePoint #ProjectServer community application updates #SP2010 #PS2010 #MSProject #ios #iphone #android
Another quick blog post to highlight some of the updates the community mobile app has received over the last few weeks:
Podcast links updated
- Mr Excel podcast – remember a lot of formulas can be used in calculated columns but also useful for Excel Services!!!
- Microsoft Update Center
For Microsoft Office and SharePoint / Project Server related products linking to the latest CU and Service Packs as well as older updates. (I don’t know about you but I always find it a nightmare finding update links)
SharePoint and related product feature comparisons
So you are at a client and they ask you whether a particular feature is in a certain version of the product. You think you know the answer, but you are not sure. So here is the answer, right on your phone. The Feature Comparison tables for SharePoint, Office, Lync and others as I find them.
Never be stuck again knowing which BCS features are in which version of the product again!
SharePoint User Group UK
SharePoint User Group (UK) dates updated (including the one I shall be speaking at. More about that in a blog post later)
Last of all I would like to say a big thank you for all the people who have downloaded the app so far. I am working on getting a version of the app onto Windows Phone 7, Blackberry and a number of other OS’s so watch this space!
Once again if you have any suggestions for the app, please let me know.
Shenanigans community app now available on Android #in #PS2010 #ProjectServer #SP2010 #SharePoint #Android
As promised last week, the SharePoint (and Project Server) Shenanigans mobile application is now available for Google’s phone OS on Android Market.
Features are exactly the same as the iPhone version of the application and all future updates to the app will be kept in sync via in-app updates for both iPhone and Android.
Application Name: SP & PS Shenanigans
Application Categories: Social
Search Keywords: SharePoint, Project Server, Giles Hamson, Shenanigans, Social
Screenshots:
Further iPhone application updates #iphone #ipad #ios #SharePoint #SP2010 #MSProject #PS2010 #ProjectServer #in
Just a quick blog to say that I have updated the SharePoint (and Project Server) iPhone application today with the following content:
- About Me – Links to my profile, my company etc…
- SharePoint Conferences around the world – locations & dates
- SharePoint Saturday around the world – locations & dates
- Application Name: SharePoint (and Project Server) Shenanigans
Application Categories: Social Media, News
Search Keywords: SharePoint, Project Server, Giles Hamson, Shenanigans, RSS, Blog
Introducing a new #iPhone / #iPad application for the #SharePoint and #ProjectServer community #SP2010 #MSProject #in
|
Application features:
|
As the community has been so kind to me, this is my way of giving something back and I welcome new feature suggestions and blogs to be added to the RSS feeds.
The user group meeting locations is currently only for the UK, but if anyone would like to add any further user group locations / dates, anywhere in the world. I will happily add them and they will be available on the application the following day.
|
Although the application is currently only available for the iOS platform, it will soon also be available for Android and potentially Windows Mobile 7 Please send feedback / suggestions via the contact form. |
![]() |
Application Name: SharePoint (and Project Server) Shenanigans
Application Categories: Social Media, News
Search Keywords: SharePoint, Project Server, Giles Hamson, Shenanigans, RSS, Blog
Screenshots:
Security Validation Issue – Form Services issue with SP1+June 2011 CU (Release 2) #in #SP2010 #SharePoint #MSProject #ProjectServer
We are testing Service Pack 1 heavily in my project that I have talked about on this blog many times.
One of the features of our implementation is a number of developed InfoPath forms. We found one issue previously that required a hotfix and it looks like SP1 and June 2011 CU (Release 2) has introduced another.
My colleague Paul Busby has mentioned it here:
and another user has also confirmed the issue.
I shall be sending the details below to Microsoft through our partner support and hopefully we can get a resolution.
Scenario:
- Form Services
- Administrator Approved Form
- Server Version: 14.0.6106.5002 (Office 2010 SP1 + June 2011 CU – Release 2)
- Client Version: 14.0.6023.1000 (Office 2010 SP1)
- NB: June 2011 Cumulative Update does not include updates for InfoPath 2010
- Microsoft June 2011 Cumulative Update for Office 2010 Client Applications – KB2259686: http://support.microsoft.com/kb/2259686/en-us
The form has two views:
- View one has a people picker
- View two is blank
The form is uploaded via Central Administration and activated to a site collection
A form library is created and the associated content type is attached
Upon creating a new form, the form loads
When the user switches views in the form, a Security Validation Error occurs:
Further Details:
- We have discovered that it appears to happen when switching to or from a view that contains a people picker field.
- Turning off security validation, allows the form to continue to work, but this is not something we want to go live with
- This issue has been found on a client DEV and TEST environment as well as a newly installed RTM machine upgraded to SP1 + June 2011 CU Release 2
SharePoint 2010 Log Details (specific details in red):
07/20/2011 13:54:03.85 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Monitoring nasq Medium Entering monitored scope (Request (POST:http://vm482:80/_layouts/FormServer.aspx?XsnLocation=http://vm482/FormServerTemplates/SP1SecurityValidationTest_Published.xsn
&SaveLocation=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest&ClientInstalled=true&Source=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1))
07/20/2011 13:54:03.85 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://vm482:80/_layouts/FormServer.aspx?XsnLocation=http://vm482/FormServerTemplates/SP1SecurityValidationTest_Published.xsn
&SaveLocation=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest&ClientInstalled=true&Source=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1) 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
07/20/2011 13:54:03.85 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Logging Correlation Data xmnv Medium Site=/ 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
07/20/2011 13:54:03.91 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Web Controls cm8z Medium Failed to get SPGroupName from GroupID. Error Message: Group cannot be found. Callstack: at Microsoft.SharePoint.SPGroupCollection.GetByID(Int32 id) at Microsoft.SharePoint.WebControls.PeopleEditor.set_SharePointGroupID(Int32 value). 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
07/20/2011 13:54:03.91 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation General 8kh7 High The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
07/20/2011 13:54:03.91 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Runtime tkau Unexpected System.Runtime.InteropServices.COMException: The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again. at Microsoft.SharePoint.Library.SPRequestInternalClass.ValidateFormDigest(String bstrUrl, String bstrListName) at Microsoft.SharePoint.Library.SPRequest.ValidateFormDigest(String bstrUrl, String bstrListName) 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
07/20/2011 13:54:03.91 w3wp.exe (0x10CC) 0x11BC SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://vm482:80/_layouts/FormServer.aspx?XsnLocation=http://vm482/FormServerTemplates/SP1SecurityValidationTest_Published.xsn
&SaveLocation=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest&ClientInstalled=true&Source=http%3A%2F%2Fvm482%2FSP1SecurityValidationTest%2FForms%2FAllItems%2Easpx&DefaultItemOpen=1)). Execution Time=66.2620528586734 5c0ca3e0-a782-4691-9a79-b2e163e3f0e9
Some links to capacity planning tools and advice #in #SP2010 #PS2010 #ProjectServer #SharePoint #MSProject
Microsoft Guides:
Capacity management and sizing for SharePoint & Project Server 2010
http://technet.microsoft.com/en-us/library/cc261700(office.14).aspx
Software Boundaries and Limitations for SharePoint & Project Server 2010:
http://technet.microsoft.com/en-us/library/cc262787.aspx
Storage and SQL Server capacity planning and configuration (SharePoint & Project Server 2010):
http://technet.microsoft.com/en-us/library/cc298801(office.14).aspx
Further Resources & Links – SharePoint 2010:
http://technet.microsoft.com/en-us/sharepoint/ff601870
Further Resources & Links – Project Server 2010:
http://technet.microsoft.com/en-us/projectserver/ee263909
HP Tools
http://h20338.www2.hp.com/activeanswers/Secure/548230-0-0-0-121.html
Tihomir Ignatov Blog
Custom Excel spread sheet for sizing High Availability environments:
http://tihomirignatov.blogspot.com/2010/12/sharepoint-2010-capacity-planning-and.html
Choirul Amri Blog
Further storage considerations:
Content Query Web Part–Debug XSLT Template #in #SP2010 #SharePoint
Something I always forget and scramble around to find:
<xsl:template name="Debug" match="Row[@Style=’Debug’]" mode="itemstyle">
<xsl:for-each select="@*">
Property Name: <xsl:value-of select="name()"/>
Value: <xsl:value-of select="." /> <br/>
</xsl:for-each>
</xsl:template>
Original blog post is here:
http://kharlesp.blogspot.com/2008/07/getting-all-values-to-debug-xsl-in.html
I will be posting more stuff on the blog soon. Things are a bit manic at the moment ![]()
Minimising JavaScript files for production #in #SharePoint #SP2010 #ProjectServer #PS2010
As per my previous post, in my current project we are starting to migrate the whole solution to live.
The project I am working on is a global solution with locations in UK, USA, India, China + others. As a result of this, like many global projects, we suffer from the available connections.
This is potentially very minor in helping, but as part of the production process we are minimising the JavaScript files.
To do this, I have used the Yahoo compressor which is a java applet where you can pass in the file and output the minimised version.
Download Link: http://yuilibrary.com/downloads/#yuicompressor
How To Documentation: http://developer.yahoo.com/yui/compressor/#using
Example Command Line: java -jar yuicompressor-2.4.6.jar –nomunge –preserve-semi –disable-optimizations <input file> -o <output file>









You must be logged in to post a comment.