Skip Ribbon Commands
Skip to main content
View Cornelius J. van Dyk's profile on LinkedIn
 

 Posts

 
January 18
You do NOT need to install the SPF CU before installing the SharePoint Server CU as of 2011-08-31

Yes, yes, I know.  I'm only about 4 months behind on this revelation, but it came and went without too much fan fare.  Something that so radically changes the way we apply Cumulative Updates for SharePoint, deserves a special footnote.  Consider this post as such.

We bid farewell to Long drawn out explanations to clients as to why they have to install the Foundation CU before installing the Server CU when they have the Server product installed.  I can't tell you how many times I've had to explain and then re-explain this to admins.  The concept is confusing and I'm glad it's finally been rectified.  Per the Updates for SharePoint 2010 Products site:

"As a result of the new packaging, it is no longer necessary to install the SharePoint Foundation cumulative update and then install the SharePoint Server cumulative update." - SharePoint Product Team

This is indeed great news.  To be clear, it's only for 2010 products.  Of course, Microsoft has discontinued the release of 2007 product CUs last year and that is probably what helped springboard the new approach to bundling the updates.

Whatever triggered it, I just want to say THANK YOU to the SharePoint Product Team for making life just a little easier... now if we can work on that CU rollback plan.Winking smile

Enjoy 
C

imageimage

December 08
SharePoint 2010 - Boundaries and Limits

Discovered this one with one of my clients today.

Error Message:  This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator.

Cause:  SharePoint 2010 lists limit the number of fields that can be displayed in a list view.  In this case, it was a 2007 list that was upgraded to 2010.  The list worked just fine in 2007, but failed to render with this error in 2010.  It turned out the list view contained 100+ fields.  The 2010 limit is 80.

Fix:  None

Workaround:  Split the view into two views, the first view containing the core data and the first half of the extra fields and the second view containing the core data and the rest of the extra fields.


Later
C

imageimage

November 29
How do I - Create a recursive escalation workflow in SharePoint using Visio 2010 Premium

One of my attendees to my Human Workflow with Visio 2010 and SharePoint Designer 2010 session in Las Vegas recently, emailed me with an interesting question.  Eric was looking to recursively check if a CSR ticket was resolved and then resend the email until it was completed.  After responding to Eric with my recommendation on how to address his specific needs, I started thinking about escalation workflows in SharePoint.  Escalation is always interesting and usually more complex to implement that most people expect when trying it for the first time.  So I modified my model I generated for Eric and grew it into an escalation workflow for a fictitious company.

If you’ve ever tried doing something similar, you probably found out quickly that SharePoint won’t allow you to create a circular relationship in the workflow back to itself.  This fact alone had drive many people to more advanced workflow tools like Sourcecode’s K2[blackpearl].  We do not however, have to establish a visible circular relationship in the workflow.  Here is my design:

image

You will note the following:

  1. EscalationCount – This is a metadata field that we add to the form data which keeps track of how many times we’ve escalated.
  2. The workflow terminates after incrementing the EscalationCount value.
  3. Our workflow is published with settings that restarts the workflow if any values in the active item changes.  THIS IS THE IMPORTANT SETTING TO REMEMBER!!!

This is how this workflow would function:

  1. When the workflow first starts, we will have an EscalationCount value of 0.  Checking this value would force it down the first row of the workflow path.
  2. An email is sent to the CSR
  3. The workflow dehydrates (goes to sleep) for 7 days. 
  4. When it wakes up, it checks if the task is complete.  It should be noted that this check can be anything you want it to be, as long as it signifies that the work has been completed.  If after 7 days the work is found to have been completed, the workflow ends normally.  If however the work isn’t complete, the EscalationCount is incremented at #25.  Because the workflow is configured to restart itself upon change, incrementing the count will restart the workflow from the top thus creating the circular relationship we need.
  5. Check that EscalationCount is 1.
  6. Look up the CSR’s manager.
  7. Send an email to both parties.
  8. Dehydrate for 2 days.
  9. Check if task is completed.  If not completed, increment EscalationCount again.
  10. Check that EscalationCount is 2.
  11. Look up the manager’s manager.  In this case we called it the Department Manager.
  12. Send an email to all three.
  13. Dehydrate for 1 day.
  14. Check if task is completed.  If not completed, increment EscalationCount again.
  15. Check that EscalationCount is 3.
  16. Look up the Department Manager’s manager, in our case, the CIO.
  17. Send and email to all four.
  18. Dehydrate for 1 day.
  19. Check if task is completed.  If not completed, increment EscalationCount again.
  20. Check if EscalationCount is 4 or more.
  21. Look up the CIO’s manager, the CEO.
  22. Send and email to all 5.  (Honestly, if the workflow ever makes it to here, this company should NOT be in business!!!)
  23. Dehydrate for 1 day.
  24. Check if task is completed.  If not completed, increment EscalationCount again.

At this point, the workflow will continue to send email to all 5 people on a daily basis.  That’ll continue until the task is completed, or (more likely) the workflow is removed from the list altogether.

So that’s how we do recursive escalation workflow using Visio 2010 Premium.  From here you simply export the workflow to SharePoint Designer 2010 and implement it on your target list.

Enjoy
C

imageimage

November 14
A must do in Las Vegas

Two weeks ago, I was honored to be presenting several sessions at the SharePoint Connections Fall Conference held at Mandalay Bay in Las Vegas.  After the conference, my wife and I had the opportunity to hang out with our friends Joe and Mellissa.  Joe introduced us to the Biscayne in the Tropicana casino.  Assistant Food & Beverage Manager, Brian Dermody, personally saw to our needs and the service was top notch.  I took the opportunity to order the T-Bone steak and I have to say it was hands down the best steak I’ve had in a long time.  In a town where there’s so much frilly food around, it’s hard to find a good quality steak for us carnivore types, but I will certainly be back at Biscayne on my next trip to Vegas.

If you’re in the area and are looking for some great food with great service and a nice ambiance, I would highly recommend a trip to Biscayne at Tropicana.

Happy Travels
C

November 07
How do I solve - This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold enforced by the administrator?

If you've ever migrated site collections from one farm to another, or upgraded from a 2007 farm to a 2010 farm, you may encounter this error the following error:

"This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator."

image

 

This is caused by Resource Throttling that was introduced in SharePoint 2010.  The settings can easily be adjusted to cater to your specific environment and are set for each web application.  To adjust the limits, follow these steps:

  • Open Central Administration
  • Click "Application Management" in the left navigation menu.
  • Click "Manage Web Applications" on the Application Management page.
  • A list of all your web applications in the target farm will be displayed.  Select the target web application by clicking the white space between the Title and the URL.
  • The Ribbon should now light up.  Click on "General Settings".  Do NOT click the gears icon above General Settings as it will take you to the General Settings page instead of the Resource Throttling page.
  • A dropdown menu will activate.  On this menu, click "Resource Throttling".

 

image

 

  • On the Resource Throttling page, scroll down to the List View Lookup Threshold section.  By default, this value is set to 8.
  • Change the value to the desired number.
  • Scroll down and click "OK".

 

image

 

Now when you navigate back to the list view in question, provided the lookups is less than the number you just set, the view should render normally.

 

image

 

Enjoy
C

October 27
How do I - Resolve the Powershell New-SPConfigurationDatabase command error - The pipeline has been stopped, This SharePoint farm currently has pending upgrades

F11_204x90_IT_BeThere_SP[1]

I was building a fresh SharePoint farm and issued the "New-SPConfigurationDatabase" Powershell commandlet when I was presented with the following error:

 

PS C:\Users\blog-spadm> New-SPConfigurationDatabase

cmdlet New-SPConfigurationDatabase at command pipeline position 1
Supply values for the following parameters:
DatabaseName: SharePoint_Config
DatabaseServer: SPSQL.Crayveon.com
FarmCredentials
Passphrase: *********
New-SPConfigurationDatabase : The pipeline has been stopped.
At line:1 char:28
+ New-SPConfigurationDatabase <<<<
    + CategoryInfo          : InvalidData: (Microsoft.Share...urationDatabase:
   SPCmdletNewSPConfigurationDatabase) [New-SPConfigurationDatabase], Pipelin
  eStoppedException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
   figurationDatabase

New-SPConfigurationDatabase : This SharePoint farm currently has pending upgrad
es.  The cmdlet New-SPConfigurationDatabase cannot be executed until the upgrad
e is completed.
At line:1 char:28
+ New-SPConfigurationDatabase <<<<
    + CategoryInfo          : InvalidOperation: (:) [New-SPConfigurationDataba
   se], SPException
    + FullyQualifiedErrorId : Microsoft.SharePoint.PowerShell.SPCmdletNewSPCon
   figurationDatabase

PS C:\Users\blog-spadm> New-SPConfigurationDatabase

cmdlet New-SPConfigurationDatabase at command pipeline position 1
Supply values for the following parameters:
DatabaseName: SharePoint_Config
DatabaseServer: SPSQL.Crayveon.com
FarmCredentials
Passphrase: *****************
PS C:\Users\blog-spadm>

The really silly outcome of this was not related to any upgrade or stopped pipelines or anything of that sort.  Yet another case of the error message NOT having anything to do with the actual problem.  As it turns out, the solution was in the farm Passphrase I was specifying.  The GUI version of PSCONFIG gives you notification when the specified farm passphrase does not conform to domain password policies, but the Powershell version does not.

I reran the exact same command but this time specifying a more complex passphrase that conforms to domain security policies, and the problem was solved!


Later
C

F11_204x90_IT_BeThere_SP[1]

October 26
SharePoint Versions Table updated with Oct 2011 CUs for 2007

The versions table has been updated with the latest CU info for SharePoint 2007 versions including SP3 and the October CUs.

http://www.cjvandyk.com/blog/Lists/Versions

Enjoy
C

October 03
How do I – Solve the Access Denied error in SharePoint 2010 under Claims or Classic auth when accessing portal root while content access works fine
October 01
Honored for the 7th time

I am honored today, to have received my 7th Microsoft MVP award for SharePoint.  It’s been an incredible journey thus far and we’re only getting started.  I look forward to what vNext will bring, but until then I’ll be spreading the word on my new endeavor with my friend Jason Himmelstein.

Later
C

September 24
Speaking at SharePoint Saturday New Hampshire

I’m speaking at the New Hampshire SharePoint Saturday event on 9/24 with my friend Jason Himmelstein.  We will be presenting our famous Heavy Metal Power Pivot session.  If you’re in the area, we’d love to see you so come on over and say hi!

Later
C

1 - 10Next