AnsweredAssumed Answered

How do I get the selected template from the print dijit?

Question asked by drc_ on Feb 12, 2015
Latest reply on Feb 16, 2015 by drc_

I'm getting a list of templates from my Export Web Map task and putting them in the print dijit like in this sample. I want to record metrics about the usage of our print service and I want this to include which template the user selected for printing the map. However, it looks like the selected template is not a property of the print dijit. When I do something like this:

 

print.on("print-start", function(evt){
     console.dir(evt);
});

 

I do not see anything in the print dijit that gives me what I need. I can see the entire list of all available templates, but no way to tell which one the user selected. Anybody have any ideas?

Outcomes