Widget - display history of modifications

Priya103
Tera Contributor

Hi ALL,

I am trying to fetch all RITMs raised for a particular software model via widget. My approach is:

1) When user selects the model on form ( reference field), I will fetch this value in client controller (using 

  $scope.$watch(function() {return gForm.getValue})

2)Parse this to the server script. Then query this sys id in sc_req_item table and fetch list of RITMS in array

3) Then display that via HTML

 

Any suggestions on this? thank you

 

1 REPLY 1

Prana Krushna
Giga Guru

@Priya103 Your approach is correct.