Ordering workflow models on the “Select a Workflow” page

Posted: 20 August 2009 in available_models.xml, Teamsite, Worfklow models, Worfklow templates, Workflows

Sometimes, we would like one workflow to appear before another but since they’re stored alphabetically, we’re a bit stuck in what we can do. Some people resort to prepending numbers or letters to the display name of the workflow so order them.

We can order them nicely on the page but prepending a space to the display name of the workflow. Since the form displays the workflow name using HTML, it strips redundant spaces, thus making them ordered. Space comes before normal lettering in their orders, so the more spaces you add to the display name, the more towards the top it will appear.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s