|
POST
|
We’ve noticed an issue with the Zone Lookup instant app when switching languages. Specifically: When switching from English to Spanish, the side panel results remain in English unless the user performs a new search. The popup content updates correctly, but the side panel does not reflect the language change dynamically. Is this expected behavior? If so, is there a roadmap item or workaround planned to allow the side panel to refresh automatically when the language is switched? here is our app as an example: Find My District
... View more
11-14-2025
09:24 AM
|
0
|
1
|
196
|
|
POST
|
Hi Kelly, I discovered that chrome is blocking request to the services in the instant app. We have been seeing this a lot recently: "has been blocked by CORS policy: Permission was denied for this request to access the `unknown` address space." After opening up the instant app in a edge I can see all the layers again. thanks again, Britt
... View more
11-10-2025
07:06 AM
|
0
|
0
|
204
|
|
POST
|
Hello, Since the last AGO updated, we noticed that the Zone Lookup configuration for an existing app is no longer able to reference the webmap layers to display in the results. I am including an image with the message I am receiving. The app is defaulting and displaying all layers in the results panel and I am unable to choose which layers I want to include.
... View more
11-07-2025
08:52 AM
|
0
|
2
|
275
|
|
BLOG
|
Hi @BethRomero, I just sent you an invite to a group in AGO to view the app. I cannot confirm it was working before the update. I believe we started testing the search feature after the update. The same layers are available in both, and the layer ids are the same. The only difference is the visible layer name in the english app and the spanish app. The interesting thing is that when you first load the app without the locale parameter the search works fine, when the locale parameter is initialized and the language switcher references the spanish webmap id the search breaks and still does not function with the language switcher reverts back to english, the default language.
... View more
11-04-2025
07:17 AM
|
0
|
0
|
242
|
|
BLOG
|
Hi @BethRomero , Reaching out again because we noticed an issue with search widget breaking in an instant app when switching between maps using the language switcher. It seems like the search configuration breaks once the webmap is switched and is unable to find the search source layers. Are there any solutions for handling the search sources when toggling between webmaps using the language switcher? thanks, Britt
... View more
10-31-2025
11:50 AM
|
0
|
0
|
271
|
|
BLOG
|
Hi @BethRomero, thanks for sharing this solution. I implemented this solution prior to the last AGO update and everything was working great. Were there any changes to the language switcher parameters in this last AGO update? Just curious because I am unable to toggle between webmaps in the Basic Viewer instant app. thanks, Britt
... View more
10-29-2025
05:54 AM
|
0
|
0
|
302
|
|
POST
|
Hi Noah, Thanks for reaching out. Here are the response to your questions and I have one additional question regarding something I just experienced: 1) Do you see your custom print templates being returned from this property? https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html... I don't see my custom templates returned from the default templates property. And just as some background I am using custom map layout templates and a report template in my print service. 2) What is the purpose of the custom widget? Like is this part of an app, or how would it be used and in what sort of workflow? The purpose of the custom widget is to allow a user to choose to print a map and/or a report that includes a map and details about a selected feature or features in the map. The custom print widget is used in an javascript application. I initially I was utilizing the print component, but I realized that there was no way to allow the user the select a feature in my application and then have that selection be applied as a filter to source layer for my report. I will send you a direct message with a link to an example report and a link to my test application. After chatting with another user in Esri community they recommended using the useEsriInterceptor function with the print method from the print view model to intercept the webmapjson before the print is executed to apply a definition query to the source layer. 3) Are you using build tools or frameworks? I am using react 4) If this is a new project, have you considered components? This is the future of widgets for the ArcGIS Maps SDK for JavaScript. I started with the print component see my answer to question 2. New question: Everything is setup and working fine with the exception of how some of the data is being sent to the print service. For some reason a feature layer that is created within my app using graphics as the feature layer source is being sent to the print service as imageData and then not being included in the map legend. I don't understand why this is happening and any help would be appreciated.
... View more
05-12-2025
11:58 AM
|
1
|
0
|
352
|
|
POST
|
Hello, I developing a custom print widget using the Print View Model. My print service uses custom layouts and reports that I want reflected in the print area that is displayed in the map. Currently, the print area only displays the default 'letter-ansi-a-landscape' layout and I am not sure what property to update in the Print View Model to modify the print area. Any help would be appreciated. thanks, Britt
... View more
04-28-2025
01:37 PM
|
0
|
2
|
470
|
|
POST
|
Joel, I added this to my print component in my app and it did the trick. Thanks again! esriConfig.request.interceptors.push({ urls: config.print_service_url, before: (params) => { const query = params.requestOptions?.query; console.log("request query: ", query) if (query) { const webMapParam = query.Web_Map_as_JSON if (webMapParam) { const webMap = JSON.parse(webMapParam); // Modify the operational layers by adding a //definiton query to the parcel layer const operationalLayers = webMap.operationalLayers webMap.operationalLayers = operationalLayers.map((layer) => { if(layer.id === sourceId){ console.log("applying defintion expression to: ", layer.id, expression) layer.layerDefinition.definitionExpression = expression } return layer }) params.requestOptions.query.Web_Map_as_JSON = JSON.stringify(webMap); } } }, after: (response) => { console.log("Modified print response", response); return response; } });
... View more
04-22-2025
11:53 AM
|
2
|
0
|
815
|
|
POST
|
Joel, thank you for the direction and helpful links. I'll give it a try. -Britt
... View more
04-22-2025
10:13 AM
|
0
|
0
|
823
|
|
POST
|
Hi, I am trying to print using a custom report template built using ArcGIS Pro. The goal of the report template is to display a map of a selected parcel and attributes describing the property. The datasource is a large parcel dataset that is consumed in a custom javascript application that uses the print component. I followed directions to create the report template and publish a new print service with the template as a report option. In my app I am able to update the reportOptions "sourceId" to point to my parcel layer and then pass the updates to the print component as a printTemplate. My Question: Is there anyway to pass a definition query or a filter as a report option to only display a selected feature in my source layer instead of everything in view? Or do I have to apply the definition query directly my source layer? thanks, Britt @Noah-Sager I watched your presentation from this year's Dev summit. Appreciate all the great info. It really helped to get me started. Any chance this question is in your wheelhouse?
... View more
04-21-2025
01:08 PM
|
0
|
3
|
892
|
|
POST
|
Hi Jeffrey, Thanks again for your help and the sharing suggestion. I'll definitely share to the group once my team finishes up all the testing. best, Britt
... View more
07-01-2024
07:23 AM
|
0
|
0
|
1800
|
|
POST
|
Update, I was using the setRecords instead of setSourceRecords method. Problem solved. Thank you!
... View more
06-27-2024
06:55 AM
|
1
|
2
|
1869
|
|
POST
|
Thanks for suggestion @JeffreyThompson2 ! I was able to create the client side output and access it as a datasource in my table widget using the documentation you provided. However I did get stuck. After accessing the widgets output as a datasource the table widget registers the datasource schema and fields, but the table is not populating the records. I'm running into an issue I've seen others discuss in this thread: https://community.esri.com/t5/arcgis-experience-builder-questions/set-up-a-widget-output-data-source-without/td-p/1288302 This was from a year ago, but updating the records in the output datasource using the setRecords method doesn't seem to work, so I was going to explore the option of updating records using the updateSourceByFeatures() described in the thread. Have you had any of this issues?
... View more
06-26-2024
03:33 PM
|
0
|
0
|
1892
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-12-2025 11:58 AM | |
| 1 | 04-02-2021 06:55 AM | |
| 2 | 04-22-2025 11:53 AM | |
| 1 | 06-27-2024 06:55 AM | |
| 1 | 03-30-2021 01:16 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-17-2025
12:49 PM
|