The Create XML Document Step
Add a Create XML Document step to the getQuoteClient.aef script to create an XML document out of the document created in the previous procedure (in order to make the information in the URL document available to the script).
To configure the Create XML Document customizer window, do the following:
Procedure
| Step 1 | From the Document Palette in the Palette pane, drag a Create XML Document step to the Design pane, and then drop it over the Create URL Document step icon. The Create XML Document step appears in the Design pane, just below, and on the same level as, the Create URL Document step icon. | ||
| Step 2 | Right-click the new Create XML Document step icon. A popup menu appears. | ||
| Step 3 | Choose Properties. The Create XML Document customizer window appears. | ||
| Step 4 | From the Source Document drop-down menu, choose doc. You used the Create URL Document step in the last procedure to define this variable to store the URL for making the request. | ||
| Step 5 | From the Document drop-down menu, choose doc. This variable stores the results of the HTTP request, issued when the Create XML Document step executes. You use the same variable as for the source document. If you want to reuse the URL in the source document in a subsequent step, use a separate document variable to store the results of that HTTP request. | ||
| Step 6 | Click OK. The Create XML Document customizer window closes, and the names of the chosen variables appear next to the Create XML Document icon in the Design pane.
| ||
| Step 7 | You are now ready to add the next step to the getQuoteClient.aef script in the Design pane of the Cisco Unified CCX Editor. |