Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

TFS Web Access custom controls Javascript API : How to get field's previous value and current value in pre-save event

$
0
0
My requirement is : Allow parent to state 'Done' only when child items are 'Done'. For Web Access custom controls: I evaluated these changes in args.change == field-change event and captured the changed field 'state' in changed fields array. I reverted back the state and set alert message box. But these changes are not working when the user is trying to change the state in Kanban board since the workitemchange delegate is not bounded. I know that no solution is there currently. I am making a field as required once when the state is changed to 'done'. So through this error I force the user to open the work item. My question is I have to handle all the changes which I have done using pre-save event. How to get the State field's previous value and current value to implement this.

Viewing all articles
Browse latest Browse all 6687

Trending Articles



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