|
POST
|
First, I see a multipleDefine error and a CORS error in the screenshots, so I'm not sure this issue is specific to printing. Second, if you look at the Network requests in the Developer Console of the browser, can you find the execute request for the print task? What is the response? Example screenshot: Third, make sure that you are calling the correct method of the printTask (execute or submitJob, you can find the correct method by going to the REST endpoint of the print request and seeing what the Supported operations are, e.g.: Task: Export Web Map Task ) Fourth, here is an example app you can use for testing the Print Service from your local server to make sure there is not an issue with CORS. It works for me locally, and should work from Codepen and locally if you copy and paste the code and host it. PrintTask app using next https://codepen.io/noash/pen/XWXpbBN
... View more
06-18-2020
10:19 AM
|
0
|
1
|
3756
|
|
POST
|
Understandable. I think it would be worth testing out first in a simple 4.15 sample, but perhaps someone else from the Community has more experience with this specific issue at 4.9.
... View more
06-17-2020
02:24 PM
|
0
|
1
|
1969
|
|
POST
|
Have you tried with a more recent version of the JS API? The current version is 4.15, it should work better. WMTS Layer sample (4.15) ArcGIS API for JavaScript Sandbox Basemap Gallery Widget sample (4.15) ArcGIS API for JavaScript Sandbox
... View more
06-17-2020
01:44 PM
|
0
|
3
|
1969
|
|
POST
|
That's good feedback, we'll improve the doc to make this more obvious.
... View more
06-16-2020
09:27 AM
|
0
|
0
|
1805
|
|
POST
|
I'm not sure here, as I tested your code and it appears to work fine: https://codepen.io/noash/pen/jOWMwEm Here are a couple resources I looked at, there are things I would change about your code, but I'm not sure that there is an issue here. How To: Limit geocoding results to a specific area How To: Limit geocoding results to a specific area World Geocoder for ArcGIS - FAQ https://www.esri.com/~/media/Files/Pdfs/data/esri_data/pdfs/world-geocoder-faqs.pdf
... View more
06-15-2020
03:47 PM
|
0
|
3
|
1546
|
|
POST
|
There are two options for widget icons. One is to use the Esri Icon Font, and you can then pick what you want for the Expand widget. Expand widget with Esri Icons: https://codepen.io/noash/pen/pogENrb The other option is to use your own CSS class to style the icons and you can then pick what you want for the Expand widget. Here is a Guide topic on how custom CSS styling works: Styling | ArcGIS API for JavaScript 4.15
... View more
06-15-2020
12:08 PM
|
0
|
0
|
2608
|
|
POST
|
Great question Liz Eidsness. You can use the SearchResultRenderer class to do exactly this. The trick is to make sure the viewModel on the SRR is set to the same viewModel as from the Search widget. And you'd probably want to set the showMoreResultsOpen property to `true`. I made an example that (crudely) demonstrates the functionality. If you search for "Plymouth" and hit enter (do not select a suggestion) you'll see the more results in the lower right. SearchResultRenderer with `next` https://codepen.io/noash/pen/NWxRbXq
... View more
06-15-2020
11:57 AM
|
2
|
2
|
1805
|
|
POST
|
And if you clear the browser cache? Try in incognito mode?
... View more
06-11-2020
08:47 AM
|
0
|
1
|
3382
|
|
POST
|
Nate Sylvester - One issue that trips people up with SAML is if they sign into the Server’s services directly (via the REST directory or Server Manager), then a cookie is created that gives them access to the server. When you then load an app it doesn’t know about this cookie and the service appears to be public, so it doesn’t generate a token for it. So one way to check for this is to see if the requests to the service in the app include token parameters or not. Another way to check is to clear the browser cache and then try to print in the app, or I suppose you could try in Incognito Mode if available.
... View more
06-10-2020
02:39 PM
|
0
|
3
|
3382
|
|
POST
|
This sample shows how to use the InfoWindowBase class to create a custom info window. Custom info window | ArcGIS API for JavaScript 3.32 This sample shows how to format the content of an info window using formatting functions. Format info window content | ArcGIS API for JavaScript 3.32 This sample creates and use a popup template that references fields from a relationship. Popup with related fields | ArcGIS API for JavaScript 3.32
... View more
06-10-2020
08:51 AM
|
0
|
2
|
1924
|
|
POST
|
Great, glad you figured out the printing issue. For custom Print Layouts, you need an authoring tool like ArcGIS Pro, and ArcGIS Server to host the print service. Printing in web applications—Documentation (10.7) | Documentation for ArcGIS Enterprise
... View more
06-10-2020
08:43 AM
|
0
|
0
|
1772
|
|
POST
|
If you want to upgrade to 4x, here is a really nice sample that shows how to use various elements in a popup: Multiple popup elements | ArcGIS API for JavaScript 4.15
... View more
06-09-2020
03:27 PM
|
1
|
0
|
1280
|
|
POST
|
Couple suggestions: 1) can you share an app on something like codepen? the minimal code required to reproduce the issue, it's real tricky to figure this out from just the error message 2) try using the ArcGIS Online utility print service. sampleServer6 really isn't meant for anything other than our samples: https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task 3) have you tried 4x? You might find it a lot easier and more powerful: Print widget | ArcGIS API for JavaScript 4.15
... View more
06-09-2020
03:23 PM
|
0
|
0
|
1772
|
|
POST
|
You might need to load() the layer first, or try a more asynchronous approach like in this example: ArcGIS API for JavaScript Sandbox
... View more
06-09-2020
03:15 PM
|
1
|
1
|
8647
|
|
POST
|
What version of the JS API are you using? If 4x, here is a really nice sample that shows how to use various elements in a popup: Multiple popup elements | ArcGIS API for JavaScript 4.15
... View more
06-09-2020
03:13 PM
|
0
|
5
|
1924
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | 04-14-2026 11:59 AM | |
| 1 | 05-13-2026 10:29 AM | |
| 1 | 04-10-2026 09:11 AM | |
| 1 | 03-24-2026 11:39 AM |
| Online Status |
Online
|
| Date Last Visited |
Thursday
|