JSRS Example for CFMX

This is an example of JSRS working with a ColdFusion CFC as opposed to an include file (which is how the CF5 version works). In this example, you choose an employee from the SELECT Employee dropdown which fires off JSRS which will return a Recordset containing the list of territories that this employee covers. For purposes of this example, when you click ADD, a CFC object is created containing some properties about the employee selected as well as the Territory you selected. As a bonus, I've also included the Region that this territory is in inside the Territory structure.

The CFC source code that is being called is available here. For a detailed discussion on how JSRS with ColdFusion works along with source code, click here

Select Employee:
Select Territory: