a·gen·tic a·gil·i·ty

TeamPlain - Revisit

Shows how to use JavaScript to shorten long project names in a TeamPlain dropdown, offering a workaround for poor project name compartmentalisation in Team Foundation Server.

Published on
1 minute read
Image
https://nkdagility.com/resources/74iowBMHVfu
Subscribe

I ran into some problems that I blogged on in my TeamPlain - Install and initial views  post. I have got a work around for the long project name problem, but it only works when you really daft project names like ours:

“XXEMEA-UK-Area-Dept-BusinessUnit-[Project Name]”

What I have done is rewrite this drop down list after it has been rendered using JavaScript!

Eww, I hear you say. Well as team server does not support compartmentalization of projects out of the box the long project names must stay.

Here is the code:

Put it after the drop down list by the id of “cmbProjects” and change the remove function calls for whatever you need.

I know it is ugly, but it is the sort of “Tactical” work around that gets the short term problem sorted.

I permanent solution would be nested projects (Or and Organizational Unit separator for the project name) from Microsoft, but I don’t think it is on the cards in the near future!

Technorati Tags: ALM

Subscribe

Related Blog

No related videos found.

Connect with Martin Hinshelwood

If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.

Our Happy Clients​

We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.​

Akaditi Logo

Akaditi

New Signature Logo

New Signature

Alignment Healthcare Logo

Alignment Healthcare

Flowmaster (a Mentor Graphics Company) Logo

Flowmaster (a Mentor Graphics Company)

Microsoft Logo

Microsoft

Lockheed Martin Logo

Lockheed Martin

Qualco Logo

Qualco

ProgramUtvikling Logo

ProgramUtvikling

Kongsberg Maritime Logo

Kongsberg Maritime

Philips Logo

Philips

YearUp.org Logo

YearUp.org

MacDonald Humfrey (Automation) Ltd. Logo

MacDonald Humfrey (Automation) Ltd.

Illumina Logo

Illumina

Higher Education Statistics Agency Logo

Higher Education Statistics Agency

Graham & Brown Logo

Graham & Brown

Cognizant Microsoft Business Group (MBG) Logo

Cognizant Microsoft Business Group (MBG)

Healthgrades Logo

Healthgrades

Workday Logo

Workday

New Hampshire Supreme Court Logo

New Hampshire Supreme Court

Ghana Police Service Logo

Ghana Police Service

Washington Department of Transport Logo

Washington Department of Transport

Washington Department of Enterprise Services Logo

Washington Department of Enterprise Services

Department of Work and Pensions (UK) Logo

Department of Work and Pensions (UK)

Nottingham County Council Logo

Nottingham County Council

Sage Logo

Sage

NIT A/S

Illumina Logo

Illumina

Boxit Document Solutions Logo

Boxit Document Solutions

Hubtel Ghana Logo

Hubtel Ghana

Big Data for Humans Logo

Big Data for Humans