-1

Web Access do Something like "client cache" when i open a Work Item edit Form

1st open : Web Access call TFS API to update all fields (ex : http://TFSServeur:8080/tfs/Collection/_api/_wit/workitems?__v=5&ids=8779)

2nd open : Web Access not call TFS API

An idea to always call API ? Somthing in TFS Web Access config ? Thanks

Dekey
  • 88
  • 5

2 Answers2

0

You cannot do that via Web Access directly.

To update the fields the http needs to be a "PATCH " request. When you open a url in a browser directly, those are "Get" requests.

So, you can update the work items use a web development tool (such as Postman) that lets you specify the http PATCH request method. It's not "client cache" but really update.

Please see the REST API to Update work items for details.

enter image description here

Andy Li-MSFT
  • 28,712
  • 2
  • 33
  • 55
0

No, no way to do it in TFS 2015.2. You need to click refresh button to refresh the work item.

BTW: There is refresh() method that can call it in onLoaded event, but it isn’t applied for TFS 2015.2. (Works fine in Visual Studio Team Services)

starian chen-MSFT
  • 33,174
  • 2
  • 29
  • 53