Skip to main content

James Milne

Go Search
Home
Downloads
 Help (new window) 
 

 ‭(Hidden)‬ Admin Links

Actual Value for Workflow Status Columns

From time to time you might want to create a view for errored workflows, or perhaps you want a workflow to check the status of another workflow.

The Workflow Status column that is added to your list or library usually displays a friendly URL that states "In Progress", "Complete" or "Error Occurred". The actual values stored in the column are as follows:

Display Message

Value

In Progress

2

Error Occurred

3

Completed

 
It’s Alive!

The Australian Community SharePoint Conference Registration Site is live!

Please see www.sharepointconference.com.au for details and to register for what will be Australia's biggest SharePoint event of 2010.  Come and learn from expert local and international speakers, network with your peers and learn all about BOTH Microsoft SharePoint 2007 and 2010.

We look forward to seeing you there! Its going to be a great even so make sure you register early.

Additional info - you can choose to include or not in your communication out to people

  • The agenda with final sessions and speakers are expected to be up early March
  • For any interest in speaking at or sponsoring this event, please complete the surveys on this link

 

Access Denied message when calling code in a .HTC file

 

Background:

HTML Behaviors are implemented as Hypertext Controls (.HTC files). Read More on MSDN "Introduction to DHTML Behaviors" (http://msdn.microsoft.com/en-us/library/ms531079(VS.85).aspx).

Issue:

When a page loads you receive a "Access Denied" message on any script line that tries to access the "document" object. For example, document.cookie or document.title.

 

Solution:

http://msdn.microsoft.com/en-us/library/ms531073(VS.85).aspx

The document object is available at all times in the primary document, but it does not exist for the HTML Component (HTC) files used in lightweight Dynamic HTML (DHTML) behaviors. This is because lightweight behaviors can be defined only if they do not use a document object in the HTC file. As a result, lightweight behaviors run faster and more efficiently than normal behaviors. Lightweight DHTML behaviors can, however, access the document object of the primary document in the same way as normal DHTML behaviors.

To remove the "Access Denied" message change your HTC file so it is NOT a LightWeight control.

<PUBLIC:COMPONENT LIGHTWEIGHT="true">

To do this simply change the "LightWeight" attribute to "FALSE".

Office 2010 “Click to Run” technology

An interested concept on software distribution is the new Microsoft "Click to Run" method of deploying Office 2010. This will allow users to install the software and have parts of the product streamed and install as you need them. Read more about it in this InfoWorld article: Microsoft Click-to-Run: The future of software delivery?

Design Checker: Data Binding blank “is not bound”

Problem

A very strange issue came up today. I was about to publish an InfoPath 2007 form and the "Design Checker" registered a really strange error. The error seemed to be stating that there was a control that was not bound, however there was no detail about which control name that was unbound.

 

Clicking on the error message simply switched me to a specific view, but did not highlight any errors on the view. All the controls on the page seemed to be correctly bound and there were no red icons whatsoever.

Of course searching the news groups did not turn up any useful leads so once I resolved the problem I decided it was worth a blog post. I am still not sure what caused the issue, but the solution thankfully is a simple one.

 

Solution

When you click the "(X) is not bound" error message the view that is displayed is the one that appears to have the issue. On the specific view simply select everything (Control-A) and then cut the content (Control-X). Once you have done this simply paste (Control-V) the view back into the now currently blank view. You should now be able to "Refresh" the Design Checker and the error should disappear. I did find a few forms that had the error message appear a second time, and I simply repeated the process. It was almost as though the issue appeared on multiple views or moved from one view to another. The simple process of cutting & pasting the view resolved the "(X) is not bound" error message and I was eventually able to publish the form correctly without any issues.

New Zealand & Australian SharePoint Conference: Save the Dates!

Save June 9th & 10th for the New Zealand SharePoint Conference which is being held in Wellington and Save the following June 16th & 17th for the Australian SharePoint Conference which is being held in Sydney Australia.

The SharePoint Conference is intended for a wide audience and has content to cover roles such as:

  • Business Roles like End Users, Business Champions, Power Users and Business Managers
  • Information Architects, Record and Information Managers
  • IT Managers, CIO and Decision Makers
  • Technical Roles including Developers, IT Pro, Systems Administration and DBA's 

Microsoft Technologies covered during the conference include:

  • WSS 3.0 (Windows SharePoint Services)
  • MOSS 2007 (Microsoft Office SharePoint Server)
  • SharePoint Foundation 2010
  • SharePoint Server 2010
  • SharePoint Designer 2007 and 2010
  • Integration with other Office 2007 and 2010 including InfoPath, Excel, Access and Visio
  • Integration with 3rd Party products enhancing SharePoint functionality

 

Speaker and Sponsorship registration are currently taking registrations and Speaker Registration closes on the 10th of February 2010 so make sure you submit as many topics as you would like to speak about.

 

For more information check out http://www.sharepointconference.com.au and http://www.sharepointconference.co.nz

 

Getting ready to upgrade to SharePoint 2010

Microsoft has started to post guides on TechNet to help you plan for and perform an upgrade from Microsoft Office SharePoint Server 2007 to SharePoint Server 2010:

  • Learn about what's new in upgrade and how the upgrade process works
  • Determine which approach you should take to upgrade to SharePoint Server 2010 and plan your upgrade process
  • Find out what steps you need to take before upgrading, including information about how to run the pre-upgrade checker

Read more: Upgrading to SharePoint 2010

http://technet.microsoft.com/hi-in/library/cc303420(en-us,office.14).aspx

SharePoint Designer 2010 Backwards compatible? Unfortunately Not..

 

In the current Beta2 of SharePoint Designer 2010 you are unable to edit or managed your existing SharePoint 2007 sites.

If you attempt to open a SharePoint 2007 site with the Beta2 of SharePoint Designer 2010 you will receive the message above.

This is worth mentioning if you are currently evaluating SharePoint 2010 and SPD 2010 because you will need to ensure you still have SharePoint Designer 2007 installed on a separate machine because you can not install SPD 2010 on a SPD 2007 machine. It is one or the other but not both. (This would be a great application for the XP Mode add-on.

SharePoint 2010: Automatic Password cycling on “Managed Accounts” (Service Accounts)

This is a great feature that allows the Managed service accounts to automatically change these passwords to auto-generated strong passwords!

This will be a great feature for all those "time poor" Admins and IT Pros that need to change service account password for compliance reasons like Sarbanes Oxley.

Using JSON with SharePoint DVWP

I have been playing with JSON over the last few weeks to see how I can work around displaying content from different Web Application (or unique domain names).

So this got me thinking about if the DVWP could be used to generate a JSON dataset that could be used by other Web Applications. With a little tinkering I managed to find a simple method of using the DVWP to create the JSON code required.

I have documented a simple example of Creating a JSON View with a DVWP that can be found in the Download section. This will be the first part of a two part tutorial.

I also thought it might be cool to create a SharePoint Feature that would allow you to generate any SharePoint View as a JSON compatible view.

[Download Tutorial]

1 - 10 Next