POST
|
Probably. Domain can be an issue. It depends on the domain on which the application is deployed and where the Export Web Map task is triggered to. To quote the documentation: "If the URL for the Export Web Map task is from the same domain as the application the print page will be displayed in a new browser window or tab when the print button is clicked. If the URL is from a different domain, a hyperlink to the print page appears in place of the print button." I believe, if the application and the service are from same domain, you need not specifically write out event for print-complete. It should automatically open the print result in new tab of the browser. We can check if this resolves the issue.
... View more
04-02-2018
11:00 AM
|
0
|
1
|
509
|
POST
|
Hi Jeffrey, I tested out the Print sample in the samples list: ArcGIS API for JavaScript Sandbox It behaves normally. When you return to the original page, it displays the print button, not the 'printout' hyperlink. Are your working with the 3.x or 4.x API?
... View more
04-02-2018
10:40 AM
|
0
|
3
|
509
|
POST
|
Thank you for the quick response @Freddie. I was able to complete the action using the DisplayAnnotation method, but I wanted to follow the commandItem methods for this task. I will try out the code in the link you mentioned. Thanks again!
... View more
04-26-2016
11:33 AM
|
0
|
0
|
555
|
POST
|
I want to label the features of feature layers in my TOC. This has to be using the CommandBar and CommandItem. How should I go about it? Some heads up will be appreciated Thanks
... View more
04-26-2016
10:06 AM
|
0
|
2
|
3816
|
POST
|
Hi, Use the code mentioned in the following link: https://github.com/amritkumar90/Directions-widget-with-searchOptions/blob/master/ Make necessary modifications as required. Hope this helps! --Amrit
... View more
04-26-2016
07:41 AM
|
0
|
0
|
452
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|