Modifying attribute and its content with javascript
Hi,
I'd like to have one of my attribute of a workitem to get its content from a data source(could be a text file).
This text file will have some changes. People will add the value they would like to see in the combo attribute to this text file and my script will parse this text to get the value.
Is it possible?
I can return a single line text from a javascript but not a list to a generic combo.
I also checked https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes but couldn't find what I am looking for.
I'd like to have one of my attribute of a workitem to get its content from a data source(could be a text file).
This text file will have some changes. People will add the value they would like to see in the combo attribute to this text file and my script will parse this text to get the value.
Is it possible?
I can return a single line text from a javascript but not a list to a generic combo.
I also checked https://jazz.net/wiki/bin/view/Main/AttributeCustomization#ScriptBasedNotes but couldn't find what I am looking for.
Accepted answer
One other answer
Hello Ralph,
I have been using this functionality since the day it came out. It's a great feature as far as I can tell.
Hope to see this feature has more functionality like DB Link so we can extract data from a DB without having a web services to publish.
I have been using this functionality since the day it came out. It's a great feature as far as I can tell.
Hope to see this feature has more functionality like DB Link so we can extract data from a DB without having a web services to publish.
Comments
Hi Canberk,
I mainly answered the questions to hint people that search the forum to the solution.
With respect to other data sources, my assumption would be, that there is just not a clear general requirement for other data sources. It could be any data source. So I assume the answer here would be to create a web application for your data source that the HTTP Filtered Value provider can access. Another option would be to wrap your data source in a custom value provider as described here in the Wiki Entry.