Quantcast
Channel: Custom Controls for TFS Work Item Tracking
Viewing all 376 articles
Browse latest View live

Commented Unassigned: TFS 2015 2.1 MultiValueControl on WebAccess won't load [43481]

$
0
0
I have installed the Visual Studio 2015 plugin and the MultiValueControl works fine.

When I go to our tfs website my control displays the text 'Cannot create work item control of type "MultiValueControl"'.

When I inspect it in the browser I get these 2 errors:

1. Failed to load resource: the server responded with a status of 404 (Not Found)
basejs:53 Uncaught Error: Script error for: WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl
http://requirejs.org/docs/errors.html#scripterror

2. http://<ourserver>/tfs/_static/tfs/Dev14.M95.4/_scripts/TFS/min/WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl.js
Failed to load resource: the server responded with a status of 404 (Not Found)

I have installed and enabled CodePlex.WitCustomControls Version 1.3.2.4 through <ourserver>/tfs/_admin/_extensions (the tab is now labeled Legacy Extensions)

Our TFS box is on a server in our local server room.

my control in the work item xml is:

<FIELD name="triag" refname="mycompany.triag" type="String">
<SUGGESTEDVALUES expanditems="false">
<LISTITEM value="[Approved]" />
<LISTITEM value="[Investigate]" />
<LISTITEM value="[Rejected]" />
<LISTITEM value="[Submit]" />
</SUGGESTEDVALUES>
</FIELD>


<Control FieldName="mycompany.triag" Type="MultiValueControl" Label="Triag" LabelPosition="Left" />

Thanks in advance
Comments: ** Comment from web user: mmanela **

The web version of build 1.3.2.4 is only supported for TFS "15" RC1 or newer. Is that what you are using?


Commented Unassigned: TFS 2015 2.1 MultiValueControl on WebAccess won't load [43481]

$
0
0
I have installed the Visual Studio 2015 plugin and the MultiValueControl works fine.

When I go to our tfs website my control displays the text 'Cannot create work item control of type "MultiValueControl"'.

When I inspect it in the browser I get these 2 errors:

1. Failed to load resource: the server responded with a status of 404 (Not Found)
basejs:53 Uncaught Error: Script error for: WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl
http://requirejs.org/docs/errors.html#scripterror

2. http://<ourserver>/tfs/_static/tfs/Dev14.M95.4/_scripts/TFS/min/WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl.js
Failed to load resource: the server responded with a status of 404 (Not Found)

I have installed and enabled CodePlex.WitCustomControls Version 1.3.2.4 through <ourserver>/tfs/_admin/_extensions (the tab is now labeled Legacy Extensions)

Our TFS box is on a server in our local server room.

my control in the work item xml is:

<FIELD name="triag" refname="mycompany.triag" type="String">
<SUGGESTEDVALUES expanditems="false">
<LISTITEM value="[Approved]" />
<LISTITEM value="[Investigate]" />
<LISTITEM value="[Rejected]" />
<LISTITEM value="[Submit]" />
</SUGGESTEDVALUES>
</FIELD>


<Control FieldName="mycompany.triag" Type="MultiValueControl" Label="Triag" LabelPosition="Left" />

Thanks in advance
Comments: ** Comment from web user: jrp77nj **

We are having this same issue. We migrated from TFS 2013 this weekend an I uninstalled the old version an installed version 1.3.2.4 this am and we receive this error.

http://<ourserver>/tfs/_static/tfs/Dev14.M102/_scripts/TFS/min/WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl.js 404 (Not Found)

We are running TFS version 14.102.25423.0 (Tfs2015.Update3)

New Post: Multivaluecontrol selecting more than 1 item

$
0
0
We are currently running TFS Update 3. I have installed the Multivalue control 1.3.2.1 on the TFS Application server and installed the WitCustomControl 1.3.1.0 on my desktop.

I have configured out Requirement WIT to use the Multivaluecontrol here is the corresponding xml:
<FIELD name="Technology Domain" refname="WPS.TechnologyDomain" type="String" reportable="dimension">
<ALLOWEDVALUES expanditems="true">
      <LISTITEM value="[Business Rules Engine]" />
      <LISTITEM value="[Cobol]" />
      <LISTITEM value="[Data Warehouse]" />
      <LISTITEM value="[Image Central]" />
      <LISTITEM value="[Other]" />
      <LISTITEM value="[Portal/WEB/CRM]" />
    </ALLOWEDVALUES>
  </FIELD>
Here is where the control is referenced:
<Control FieldName="WPS.TechnologyDomain" Type="MultiValueControl" Label="Technology Domain" LabelPosition="Left">
<CustomControlOptions />
                    </Control>
The first issue is when I go to the Web interface I can create a requirement and I see in the form a drop down and all the values. If I select just one of them everything is ok. If I select more than one and I get an error at the top of the form next to the Requirement ID:
The field 'Technology Domain' contains the value '[Business Rules Engine];[Cobol]' that is not in the list of supported values.

It seems that there is some sort of validation being done, but I don't know how to fix this.


The second issue is it I try and create a requirement in the same project from Visual Studio, when I select the tab that contains that field and control, I get the following error message:
"Technology Domain does not have any values to list in the multiple value control. See Work item Tracking Multiple Value Control.doc for details on defining a field to support the multiple value control.

Any Thoughts?

New Post: Multivaluecontrol selecting more than 1 item

$
0
0
So after further review I discovered the problem. For the list I chose Allowed Values, that's why it failed on both cases. When I switched it to suggested Values both scenarios (Web and VS client) worked.

Here is the updated XML:
<ALLOWEDVALUES expanditems="true">
  <LISTITEM value="[Business Rules Engine]" />
  <LISTITEM value="[Cobol]" />
  <LISTITEM value="[Data Warehouse]" />
  <LISTITEM value="[Image Central]" />
  <LISTITEM value="[Other]" />
  <LISTITEM value="[Portal/WEB/CRM]" />
</SUGGESTEDVALUES>
</FIELD>

Commented Unassigned: TFS 2015 2.1 MultiValueControl on WebAccess won't load [43481]

$
0
0
I have installed the Visual Studio 2015 plugin and the MultiValueControl works fine.

When I go to our tfs website my control displays the text 'Cannot create work item control of type "MultiValueControl"'.

When I inspect it in the browser I get these 2 errors:

1. Failed to load resource: the server responded with a status of 404 (Not Found)
basejs:53 Uncaught Error: Script error for: WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl
http://requirejs.org/docs/errors.html#scripterror

2. http://<ourserver>/tfs/_static/tfs/Dev14.M95.4/_scripts/TFS/min/WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl.js
Failed to load resource: the server responded with a status of 404 (Not Found)

I have installed and enabled CodePlex.WitCustomControls Version 1.3.2.4 through <ourserver>/tfs/_admin/_extensions (the tab is now labeled Legacy Extensions)

Our TFS box is on a server in our local server room.

my control in the work item xml is:

<FIELD name="triag" refname="mycompany.triag" type="String">
<SUGGESTEDVALUES expanditems="false">
<LISTITEM value="[Approved]" />
<LISTITEM value="[Investigate]" />
<LISTITEM value="[Rejected]" />
<LISTITEM value="[Submit]" />
</SUGGESTEDVALUES>
</FIELD>


<Control FieldName="mycompany.triag" Type="MultiValueControl" Label="Triag" LabelPosition="Left" />

Thanks in advance
Comments: ** Comment from web user: mmanela **

The version is only support in TFS 2017 RC1 or newer

New Post: Multivaluelist control in TFS 2015 - Update 3 - works sort of

Created Unassigned: TFS 2017 / Multiselect1.3.2.4 doesnt work [43532]

$
0
0
Hi

I upgraded ourr test to TFS 2017 and installed version 1.3.2.4 of multi select. My problem is that the control does not drop down and show the list values. Please advise

New Post: Multivaluelist control in TFS 2015 - Update 3 - works sort of

$
0
0
the control does not drop dwn with TFS 2017
Any idea what to do?

Commented Unassigned: TFS 2017 / Multiselect1.3.2.4 doesnt work [43532]

$
0
0
Hi

I upgraded ourr test to TFS 2017 and installed version 1.3.2.4 of multi select. My problem is that the control does not drop down and show the list values. Please advise
Comments: ** Comment from web user: wren **

Same situation here, it works in a opened edit page, but the drop down list is behind in a populate edit form.

Commented Unassigned: TFS 2017 / Multiselect1.3.2.4 doesnt work [43532]

$
0
0
Hi

I upgraded ourr test to TFS 2017 and installed version 1.3.2.4 of multi select. My problem is that the control does not drop down and show the list values. Please advise
Comments: ** Comment from web user: wren **

I've fix this one by myself, un-zip the package, and modify in file jquery.multiselect.css, change z-index:10000; to z-index:10004; in line 14.

Save the file and zip again, upload to TFS 2017.

New Post: MultiValue Control - Select more then 2

$
0
0
Hi Maria,

There is an unknown feature in the MultiValue Control that might solve your problem.

That feature is an autocomplete behavior that lets you see all the selecte values like this:

Web Access:

Image

Visual Studio:
Image

To configure your workitem control with the power tools, you just need to add the "behavior" attribute with a value of "autocomplete":
Image

Or, if you do it with XML the configuration would be something like this:
<Control FieldName="yourFieldName" Type="MultiValueControl" Label="YourLabel:" 
 LabelPosition="Left" Behavior="autocomplete">
   <CustomControlOptions />
</Control>
I you are interrested, there is also another less known behavior that lets you feed the MultiValue Control with values from an external URL but there are some road blocks for TFS2017 I think...

Regards

Stéphane

New Post: TFS Multivalue Control

$
0
0
We are running TFS 2015.2. Am I not able to use the MultiValue Control with a Global List configured for the Suggested Values? Or, is my issue that the total characters for all items on the Global List exceeds a total of 255 characters? After adding to my User Story WIT, and I try to open an New User Story, I get message saying:

<MyField> does not have any values to list int he multiple value control. See "Work Item Tracking Multiple Value Control.doc" for details on defining a field to support multiple value control.

Can't seem to find the .doc referenced anywhere, as a side note.

I want to use a global list of our customers, to show which (more than one in some cases) requested the enhancement or bug fix.

Source code checked in, #108702

$
0
0
Updated control to support TFS 2017 Update 1 RC1

New Post: Don't display whole world in dropdownlist via TFS2015.2 + 1.3.2.1

$
0
0
TFS 14.95.25229.0
Multi Value Custom Control 1.3.2.1

Steps:
  1. Create new WorkitemType
    <FIELD name="Language" refname="Impacted.Language" type="String" reportable="dimension">
    <HELPTEXT>Pick impacted languages</HELPTEXT>
    <SUGGESTEDVALUES expanditems="true">
      <LISTITEM value="abcd" />
    </SUGGESTEDVALUES>
    <REQUIRED />
    </FIELD>
<Control FieldName="Impacted.Language" Type="MultiValueControl" Label="&Language" LabelPosition="Left" />
  1. Install 1.3.2.1 and enable the extension.
  2. Create new Bug and check it.
Actual:
Can not display whole world in web page.
in this sample, only list 'bc' in field.

If I export the WIT again, the data fine in the xml.

Then install msi with VS 14.0.25123.00U2
When create new bug,
There is error message about
"Language contains a value that is not supported by the multiple value control because it is either empty or does not properly sparate its values by enclosing them square brackets. The string representing multiple values should be of the form "[value 1];[value 2]""

Then I update the value to "[abcd]". It display 'abcd' in webpage. And display '[abcd]' In VS


So, Must I add square bracket in my value when I use 1.3.2.1? or I have other error?

I check 1.3.1.0 The value do not have square brackets. And it work fine.

Patch Uploaded: #18649

$
0
0

thomas_ruemmler has uploaded a patch.

Description:
By increasing z-index, the drop-down box appears in front of other controls.


Commented Unassigned: TFS 2017 / Multiselect1.3.2.4 doesnt work [43532]

$
0
0
Hi

I upgraded ourr test to TFS 2017 and installed version 1.3.2.4 of multi select. My problem is that the control does not drop down and show the list values. Please advise
Comments: ** Comment from web user: thomas_ruemmler **

I had the same issue and uploaded a patch (18649 ) to the project: https://witcustomcontrols.codeplex.com/SourceControl/list/patches

Released: 1.3.2.5 (1月 24, 2017)

$
0
0
This release contains the following changes:

1. Updated Webaccess multivalue control to support TFS 2017 Update 1 RC1 old workitem form. This control has limited supported in TFS 2017 New workitem form.

Controls for 2013 and earlier can be downloaded from the 1.2.2.0 release: https://witcustomcontrols.codeplex.com/releases/view/123638.

Controls for 2015 RC can be downloaded from the 1.3.0.0 release: https://witcustomcontrols.codeplex.com/releases/view/615524.

Controls for 2015 RTM can be downloaded from the 1.3.1.0 release: https://witcustomcontrols.codeplex.com/releases/view/616048.

Controls for 2015.2 RTM can be downloaded from the 1.3.2.1 release: https://witcustomcontrols.codeplex.com/releases/view/620316.

Controls for 2015.2 RTM and TFS 2017 can be downloaded from the 1.3.2.4 release: https://witcustomcontrols.codeplex.com/releases/view/625424.

The control pack contains the following work item custom controls:
  • MultiValueControl: a ComboBox to accept and show multiple values for a field by showing a list of checkboxes. More details here: MultiValue Control
  • ScreenshotControl: a simple control (button) to capture a screenshot as a work item attachment. More details here: Screenshot controls.
  • AttachmentsControl: this control cab be used as an alternative to the standard file attachments dialog. More details here: Screenshot controls.
  • WebBrowserControl: displays a web browser inside a work item. More details here: Web browser control.
To install the files, download the file maching your TFS version. For TFS 2012 and 2013 the .zip file contains an installer for the Windows controls and a .zip file for the Web Access controls.

Windows Controls Installation
Simply run the msi setup and restart Visual Studio. If you haven’t already added the custom control to your Workitem form, see the individual control details on instruction on how to embed it into the work item type definition on the server.

Note: The client controls are not backwards compatible so you will need to install the version for each of the Visual Studio editions you will use.

Alternatively you can download the latest source code and build it. Not that the assembly must be compiled with the corresponding version of TeamFoundation assemblies of the client.

The deployment folder is located at the following location under a default client install: <ApplicationData>\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\<Version>. <Version> is 12 for VS 2013, 11.0 for VS 2012, 10.0 for VS2010 and 9.0 for 2008. The *.wicc files and CodePlex.WitCustomControls.dll must be in the same location (unless you specify absolute path in the wicc). The root Custom Controls folder is the fallback location where all clients look for custom controls if it can't find it in the versioned folder.

Web Controls Installation
  • Navigate in your browser to the configuration panel for the web extension of TFS: http://servername:8080/tfs/admin/Extensions
  • Click on the '+'-sign and upload the CodePlex.WitCustomControls.MultiValueControl<version>.zip-file, make sure to use the .zip file matching you TFS server version.
  • Enable the extension.
(Possibly you will also need to clear your browser cache in case you had a previous version installed)

Updated Release: 1.3.2.5 (Jan 24, 2017)

$
0
0
This release contains the following changes:

1. Updated Webaccess multivalue control to support TFS 2017 Update 1 RC1 old workitem form. This control has limited supported in TFS 2017 New workitem form.

Controls for 2013 and earlier can be downloaded from the 1.2.2.0 release: https://witcustomcontrols.codeplex.com/releases/view/123638.

Controls for 2015 RC can be downloaded from the 1.3.0.0 release: https://witcustomcontrols.codeplex.com/releases/view/615524.

Controls for 2015 RTM can be downloaded from the 1.3.1.0 release: https://witcustomcontrols.codeplex.com/releases/view/616048.

Controls for 2015.2 RTM can be downloaded from the 1.3.2.1 release: https://witcustomcontrols.codeplex.com/releases/view/620316.

Controls for 2015.2 RTM and TFS 2017 can be downloaded from the 1.3.2.4 release: https://witcustomcontrols.codeplex.com/releases/view/625424.

The control pack contains the following work item custom controls:
  • MultiValueControl: a ComboBox to accept and show multiple values for a field by showing a list of checkboxes. More details here: MultiValue Control
  • ScreenshotControl: a simple control (button) to capture a screenshot as a work item attachment. More details here: Screenshot controls.
  • AttachmentsControl: this control cab be used as an alternative to the standard file attachments dialog. More details here: Screenshot controls.
  • WebBrowserControl: displays a web browser inside a work item. More details here: Web browser control.
To install the files, download the file maching your TFS version. For TFS 2012 and 2013 the .zip file contains an installer for the Windows controls and a .zip file for the Web Access controls.

Windows Controls Installation
Simply run the msi setup and restart Visual Studio. If you haven’t already added the custom control to your Workitem form, see the individual control details on instruction on how to embed it into the work item type definition on the server.

Note: The client controls are not backwards compatible so you will need to install the version for each of the Visual Studio editions you will use.

Alternatively you can download the latest source code and build it. Not that the assembly must be compiled with the corresponding version of TeamFoundation assemblies of the client.

The deployment folder is located at the following location under a default client install: <ApplicationData>\Microsoft\Team Foundation\Work Item Tracking\Custom Controls\<Version>. <Version> is 12 for VS 2013, 11.0 for VS 2012, 10.0 for VS2010 and 9.0 for 2008. The *.wicc files and CodePlex.WitCustomControls.dll must be in the same location (unless you specify absolute path in the wicc). The root Custom Controls folder is the fallback location where all clients look for custom controls if it can't find it in the versioned folder.

Web Controls Installation
  • Navigate in your browser to the configuration panel for the web extension of TFS: http://servername:8080/tfs/admin/Extensions
  • Click on the '+'-sign and upload the CodePlex.WitCustomControls.MultiValueControl<version>.zip-file, make sure to use the .zip file matching you TFS server version.
  • Enable the extension.
(Possibly you will also need to clear your browser cache in case you had a previous version installed)

New Post: tfs custom server controls

$
0
0
Hi,
Is there any way to create serverside custom controls?
I would like to interact with a different workitem and then update the current work item.

Commented Unassigned: TFS 2015 2.1 MultiValueControl on WebAccess won't load [43481]

$
0
0
I have installed the Visual Studio 2015 plugin and the MultiValueControl works fine.

When I go to our tfs website my control displays the text 'Cannot create work item control of type "MultiValueControl"'.

When I inspect it in the browser I get these 2 errors:

1. Failed to load resource: the server responded with a status of 404 (Not Found)
basejs:53 Uncaught Error: Script error for: WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl
http://requirejs.org/docs/errors.html#scripterror

2. http://<ourserver>/tfs/_static/tfs/Dev14.M95.4/_scripts/TFS/min/WorkItemTracking/Scripts/Controls/WorkItemForm/WorkItemControl.js
Failed to load resource: the server responded with a status of 404 (Not Found)

I have installed and enabled CodePlex.WitCustomControls Version 1.3.2.4 through <ourserver>/tfs/_admin/_extensions (the tab is now labeled Legacy Extensions)

Our TFS box is on a server in our local server room.

my control in the work item xml is:

<FIELD name="triag" refname="mycompany.triag" type="String">
<SUGGESTEDVALUES expanditems="false">
<LISTITEM value="[Approved]" />
<LISTITEM value="[Investigate]" />
<LISTITEM value="[Rejected]" />
<LISTITEM value="[Submit]" />
</SUGGESTEDVALUES>
</FIELD>


<Control FieldName="mycompany.triag" Type="MultiValueControl" Label="Triag" LabelPosition="Left" />

Thanks in advance
Comments: ** Comment from web user: surese56 **

I have used the code as it is and still I'm not able to get it working
On the webpage it says Cannot create work item control of type "MultiValueControl".

Browser log says Uncaught TypeError: Cannot read property 'prototype' of undefined
which points to line domElem = VSS.UI.domElem;

Not sure what am I missing.
All the other workitem custom controls I wrote have the same problem.

Viewing all 376 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>