SharePoint Resource

The latest insights from the SharePoint Experts

Archive for the ‘SharePoint Customisation’ Category

Novotronix Selected for Development of Authority Parent Portal

Posted by Steve Jones on June 9, 2011

We are pleased to announce that Novotronix have been awarded a project to develop parental portals for schools as part of a local authority project.  The Sharepoint based portals will enable schools to improve communications with their parents and allow students to demonstrate examples of their work.

More details to follow shortly…

Posted in General, SharePoint 2010, SharePoint Customisation, SharePoint Development | Leave a Comment »

Pre-Populating Sharepoint Fields with values

Posted by Gary Powell-Jones on March 18, 2011

There are occasions when we need to pre-populate SharePoint fields with data, such as from a query string. the solution is not that difficult, using a bit of Javascript. Paul blogged the solution of at Autosponge.
Read the rest of this entry »

Posted in SharePoint Customisation, SharePoint Development | Leave a Comment »

Using [Today] or [Me] in SharePoint calculated columns

Posted by Gary Powell-Jones on March 4, 2011

(Reposted from orginal blog)
If you try this in the browser you will get a message along the line of Calculated columns cannot contain volatile functions like “Today” and “Me”. At this point you go D’Oh!

But…. you can !!!

Before creating your calculated column you will need to create a column called Today or Me (depending on the calculation you want to create). Once this has been created, SharePoint lets you use the [Today] or [Me] functions in the calculation.

This example shows how to create an age calculated column.

1. In your SharePoint list, create a column, title = DOB, type = Date, format = date only.

2. Create a column, title = Today, type = text.

3. Create a column, title = Age, type = calculated, calculation = DATEDIF([DOB],[Today],"Y")

4. Delete the column titled “Today”

Now add a new item to the list. Set the DOB date (to somewhere in the past!) and save. The Age should have now been correctly calculated in Years.

Note that once you have deleted the Today or Me column, if you try to edit the calculation in the future, SharePoint will complain again. However, you can simply create another column (Today or Me), edit your calculation, then Delete the Today / Me column again.

Posted in SharePoint, SharePoint Customisation | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 48 other followers