How do I: Implement $().SPServices.SPCascadeDropdowns

November 5, 2012 1 comment

Documentation for $().SPServices.SPCascadeDropdowns

In my opinion, the tricky part to this is the third list “CascadeExample”. It was unclear to me after reading the documentation on the SPServices website that the two columns “Country” & “Region” in the “CascadeExample” list need to be lookup columns. It might be obvious to everyone else.

How do I: Implement $().SPServices.SPAutocomplete

How do I: Implement $().SPServices.SPLookupAddNew

Hiding/Showing InfoPath 2010 form element using jQuery

November 3, 2012 Leave a comment

Get the code / Look for the highlight area

InfoPath 2010 is a great tool. However, while building forms in InfoPath it’s only a matter of time when you have a user requirment that InfoPath alone simply will not do. In that case you might have a few options. You could add custom code using VSTA, which means you will need to publish them as an administrator approved form template.You could ditch InfoPath completely and build your forms in Visual Studio 2010 using asp.net. You could build them using the client object model. Lots to think about. In addtion, you could manipulate some form element using jQuery. The video demonstrates a simple way to hide/show a textbox element using jQuery.

Quick Powershell to delete all items in my Sharepoint list

November 1, 2012 Leave a comment

A quick post with a simple script I gathered a while back that comes in handy for data cleansing before releasing a site:
– how to delete the 100s of items in my list without doing it from the web interface (limited to the maximum displayed in a view)

Use the #powershell script below.

Warning: do this at your own risk, don’t get the wrong site/list or you will regret it ;-)

Save this into a DeleteAll.ps1 file
replace “http://SharepointSite” by your site and “ListName2 by the list name where to delete all items.
and run .\DeleteAll.ps1 from Sharepoit PowerShell cmd prompt.
<strong>
</strong>&nbsp;# script starts here…</div>
<div>[System.Reflection.Assembly]::Load(“Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c”) | out-null
$oContentService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService;
[Microsoft.SharePoint.Administration.SPWebApplicationCollection]$waColl = $oContentService.WebApplications;
$siteUrl = “http://SharepointSite”
$webName = “”
$spSite = new-object Microsoft.SharePoint.SPSite($siteurl)
$spWeb = $spSite.OpenWeb($webName)
$spList = $spWeb.Lists["List Name"]
foreach ($item in $spList.items)
{
$deaditem=$splist.GetItemById($item.ID)
$deaditem.Delete()
}</div>
<div>

via François on Sharepoint http://sharepointfrancois.wordpress.com/2012/10/31/quick-powershell-to-delete-all-items-in-my-sharepoint-list/

François Souyri
French native Sharepoint Consultant living in London. A crossway between a designer, developer and system architect. Prefers stretching the limit of out-of-the-box features rather than breaking them into code. When not working with Microsoft Sharepoint François is often found on Web2.0 News sites and related social networking tools.

This article has been cross posted from sharepointfrancois.wordpress.com/ (original article)

Categories: Work Tags: ,

Using jQuery to hide form elements based on checkbox value

November 1, 2012 Leave a comment

Practice makes Perfect Part 8 – Customizing the Ribbon

November 1, 2012 Leave a comment

I have been working with Microsoft Project for a decent amount of time now and I go to a lot of clients during my Project Server implementations. One thing I noticed with the average Project Manager that they never use the feature to customize their ribbon. For the people that do not know what the ribbon is, it is the action bar where all the buttons reside in Office products.

image

While most buttons you use in Project are already present in the ribbon, they sometimes are not in the place you like them to be. It is my experience that when working on your project plan you mostly use the “Task” tab in your ribbon. What I like to do, is to add a few buttons I use on regular basis in the other tabs to have them in available in the “Task” tab.

Because I work with Project Server a lot I always like to have the “Publish” button in my ribbon, the same goes for the “Set Baseline”, “Entire Project” and “Team planner” buttons.

So how do you do this?

That is the easy part. Go to “File” and select “Options”. In the options menu you can find “Customize Ribbon” and “Quick Access Toolbar”. For this post I will only customize my ribbon.

image

When you selected the “Customize Ribbon” option you are able to add button to all tabs. Here we will customize the “Task” tab.

image

Expand the “Task” tab. Now I advise you to make a custom tab for the buttons you want to add. To do this click on “New Group”.

image

image

So that is the group. Now that we have our group lets populate it with the extra buttons we want shall we.

image

Select the button you want to add in my case that is “Publish” and press add. Now select other buttons you want and press ok. Go back to the tab you customized to see the result.

image

It is that easy. Above the result. Having these buttons all in the “Task” tab saves me the hassle to go the other tabs for them. Everything you need one click away.

via SpeakingSilent » Robin Kruithof http://speakingsilent.wordpress.com/2012/11/01/practice-makes-perfect-part-8-customizing-the-ribbon/

Robin Kruithof
I am Robin Kruithof. I am working at CXS in the Netherlands as a Microsoft Project Consultant. My passion lies in Project Management and everything in the Project Management domain.

This article has been cross posted from speakingsilent.wordpress.com/ (original article)

Categories: Robin Kruithof, Work Tags:

#SP2013 #PS2013 and Business Intelligence TechNet links

October 31, 2012 Leave a comment

Just a few useful links from the newly released / updated TechNet articles around SharePoint, Project Server and BI in 2013

SharePoint 2013

Project Server 2013

 

Business Intelligence within SharePoint 2013

Excel Services

PerformancePoint

Visio Services

2012 SP1 CTP4 is out and RS2012 installation details here:

SQL Server 2012 BI – includes links to Report Builder, Power View and PowerPivot help

Reporting Services 2012 Developers Reference

Hardware and Software requirements for Reporting Services and Power View

Supported Reporting Services with SharePoint combinations

Reporting Services add-in locations

Feature support for rs2012 Native vs. SharePoint

Reporting Services 2012 feature availability comparison with different SQL Server 2012 editions

Why can’t I access the column in my SharePoint list programatically?

October 26, 2012 2 comments

The answer might be simple. The first time a column is created and you title it “Column1” the database records that. If you (or someone else) later changes the column title to “Column2” your application will break. Why? Because behind the scenes that column is still “Column1”

How do I: Create a FAQ page in SharePoint 2010

October 26, 2012 Leave a comment

How do I: Create a simple form to collect data in SharePoint 2010

October 26, 2012 Leave a comment

This was done using a SharePoint Online site.

There is an important piece of JavaScript code that allows you to re-direct your page once the “Save” button is click:

<input type=”button” value=”Save” class=”btnStyle” name=”btnSave” onclick=”javascript: {ddwrt:GenFireServerEvent(‘__commit;__redirect={http://sharepointsource123-web.sharepoint.com/CRT005/SitePages/RedirectLanding1.aspx}’)}” />

SharePoint Online: Video Streaming

October 26, 2012 3 comments

The following video demonstrates how to add streaming video to a SharePoint Online private site collection.

Please note: this will not work on a SharePoint Online public website

Design a site like this with WordPress.com
Get started