|
POST
|
We creating a default Pro.settingsConfig file for staff which is going well. However, one that we can't sort out is the DefaultBasemapJson setting in the Map and Scene Settings section . The help describes setting this as being: Blank, 'FromPortal' (default), or by providing a "JSON object or CIM path corresponding to a custom basemap". We would like to set a custom basemap that is hosted externally from portal/AGOL (but does meet the esri vector tile requirements). Does anyone have an example of setting this JSON/CIM syntax in the config XML file?
... View more
06-25-2024
10:39 AM
|
0
|
2
|
1288
|
|
POST
|
Hi @Robert_LeClair , I updated the supported file extensions but no change. However, I noticed that if I insert a "Straight Text" element with just a link, it did not work. But if I insert a "Rectangle Text" element with just a link, it does work. Using examples from first post. Hyperlinks all show in the Layout window properly, but don't work when exported to PDF. Not consistent as I did the same "straight text" twice and one of them worked (same tool and exact same text). I've attached a screen capture of both the Layout and PDF (hyperlink.png). I then kept exporting to PDF many times, and results did change from original before stabilizing on one pattern and missing a hyperlink still (hyperlink2.png)
... View more
05-16-2024
04:41 PM
|
0
|
0
|
2068
|
|
POST
|
Hyperlinks are now supported in text for layouts and reports but finding some inconsistent results. Wondering if a possible bug or just how we are implementing. Everything looks good in the layout itself, but when exporting to PDF, the PDF doesn't always keep the hyperlink: Create a textbox with LINK tag only (nothing else in the texbox). Exports text only, no hyperlink created. <LINK url="https://www.esri.com">esri</LINK> Create a textbox with LINK AND some text preceeding the link: Exports a hyperlink Hi Mom <LINK url="https://www.esri.com">esri</LINK> Create a textbox with LINK tag only, but the link text is the URL: PDF reads as a hyperlink (not sure if exported as a hyperlink or just the PDF viewer doing its automatic formatting. <LINK url="https://www.esri.com">https://www.esri.com</LINK> As well, none of the exports to PDF with hyperlinks use proper PDF hyperlink tags for WCAG accessibility (S.508/AODA). That said, accessible exports to PDF have many other issues too (tag order and proper tag types not correct). Anyone else notice this odd behavior? Or maybe just something in my coffee?
... View more
05-16-2024
05:32 AM
|
2
|
4
|
2150
|
|
POST
|
We use a modified version of the DotNet one that was archived. Not sure about the final one listed here but looks like it covers many situations: https://github.com/Esri/resource-proxy
... View more
12-21-2023
05:56 AM
|
0
|
0
|
968
|
|
POST
|
Hi @Wade , You can just extend the length of a long token in ArcGIS Server settings. There are some pros and cons of using this approach, but it is pretty easy to configure. This article has all the details (oldie but a goodie):ArcGIS for Server Long Tokens (spatialtimes.com) . I wrote that many years ago, but I just logged into an ArcGIS Server 10.9.1 instance and the setting is still there to modify. As for the proxy approach, there are lots of examples out there for different languages (.NET, PHP, Java, Node.js, etc). This will depend on your server platform and what you feel comfortable with so hard to give a relevant example. Both methods above can work with ArcGIS Server standalone. If you have access to Portal, Esri ArcGIS Server help pages do explain how to leverage Portal/AGOL for accessing secure services (with credentials saved in the item): Connect to secure services—ArcGIS Server | Documentation for ArcGIS Enterprise.
... View more
12-20-2023
05:41 PM
|
0
|
2
|
986
|
|
POST
|
There are 4 main authentication methods you can use to access secure resources. Access secure resources | Overview | ArcGIS Maps SDK for JavaScript 4.28 | ArcGIS Developers One approach is to create a simple Reverse Proxy. Save credentials in a server config/env file and setup urlUtils to use the proxy for specific services. Esri historically had a proxy sample you could use, but it isn't maintained anymore - but you could create your own basic RP pretty easily to handle this. The Esri sample is still online but they are pretty clear you should use something else "Do NOT use these proxies. They have not been maintained or supported for a long time."
... View more
12-19-2023
12:28 PM
|
0
|
4
|
1021
|
|
POST
|
Thank you @AndyGup. I tried a quick app using the ArcGIS ESM CDN and everything works. I did a simple app test with Vite and it works too. My larger app is fine until I change the ArcGIS SDK version, but could be due to many other factors outside of this I guess. Appreciate your time and helpful reference docs as well. If I ever isolate the issue I'll post in here if relevant.
... View more
12-06-2023
09:48 AM
|
0
|
2
|
2900
|
|
POST
|
I'm describing an issue beyond my abilities at this point. I'm upgrading my app: ArcGIS Maps SDK 4.27 (4.27.6) application to 4.28 (4.28.10) and hit a very odd issue. The app is built with Vite.js 4.5 (Node 18) using the ArcGIS SDK's ES Modules. Just a basic html/javascript app being built there and copied to the webserver. When I use Vite build with 4.27 everything works fine on all browser environments. When building with 4.28, I noticed a graphics layer would not add (to draw some graphics) on iOS Safari and iOS Google Chrome (WebKit) using iOS 17.1.2. Well, all graphics layers wouldn't add. The error for each states "Esri.view.LayerViewManager failed to create layerview for layer....". The details of the error are all blank (layerview-create-error wasn't much help). I was digging into possible issues with the layer not being ready, etc - however the layer is being added after map is loaded (and verified), with everything fine when using 4.27. My thought is that there is a dependency leveraged in 4.27 that isn't referenced with 4.28 (or missing for graphics layers, or layers in general), that only iOS Webkit was relying on. However, this is where I'm now out of my depths (no pun intended). Doesn't happen when just in dev mode (vite dev), but happens with Vite Build. But rebuilding on 4.27 again works, deleting and installing all modules 4.27 works too. But same steps continue to not work with 4.28. Only for adding of layers - main map works.
... View more
12-04-2023
01:14 PM
|
0
|
8
|
2987
|
|
POST
|
Thank you for the quick reply! I've changed the output settings but still getting the same reported 99+ issues. However, glad to hear this isn't related to my add-in directly which was my main concern. So still see some debug alerts, but confirmation this isn't related to the specific add-in is good enough for me. Thank you again.
... View more
11-28-2023
09:04 AM
|
0
|
0
|
810
|
|
POST
|
Recently decided to and add some custom tools to our ArcGIS Pro 3.2 installs. I've followed along with the ProGuide to installing the SDK, then followed along with the 'ProGuide: Build your first add in' (just add a button). When I build and test the tool I get lots of XAML binding failures (and not including anything using xaml). The initial build succeeds and Pro opens. Before I even get started on the home screen there are 13 Binding failures on the home screen (photo below). Then I start without a template and it jumps to 99+ failures. I go to the add-in tab and the button is there, and works in Pro. That said as I try to add to other DAML locations, it never works and wondering if related. Dev on Windows 11 OS ArcGIS Pro 3.2 (reinstalled as well) Visual Studio Community 2022 v17.8.1 Workload Component: .NET desktop development Workload Component: UWP development Marketplace Extensions: ArcGIS Pro SDK for .NET 3.2.0.49743 (and Utilities) Thank to anyone that may have encountered this and knows a way to solve. Photos below Pro Launching in Debug XAML Binding failures
... View more
11-28-2023
06:45 AM
|
0
|
2
|
913
|
|
POST
|
This is a logged bug: BUG-000154243 for Portal for ArcGIS (esri.com). Special thanks to Esri Canada Support for replicating the issue and finding the related bug. The listed workaround to "not use transparency" isn't really working around anything beyond transparency. But at least they are transparent about it 😉
... View more
11-13-2023
12:50 PM
|
1
|
0
|
768
|
|
POST
|
Hi @LarsSøe , we are having the same issue with Server 10.8.1 and ArcGIS Pro 3x. Raster legends are showing all as white/missing, but look OK in ArcGIS Pro. Did you find a solution?
... View more
09-14-2023
12:20 PM
|
0
|
0
|
797
|
|
POST
|
@Paco - I think your solution with the offsets is the way to go and less code/effort. If you were going to use the defaults for the webStyle it is straight forward, but fetching and changing is more work since this is a simple shape and you have already figured out the path property. The "path" is just an SVG path, so you could open in a SVG editor (like this one) to tweak the shape as well. The offset should work great as you can make items align to the tip of the pin.
... View more
06-15-2023
06:59 PM
|
1
|
0
|
3138
|
|
POST
|
Looks like it is setting up a new SimpleMarkerSymbol, but you really want a WebStyleSymbol. The example above is a bit of a combo of the two. If you want to modify the color or size of a WebStyleSymbol you need to use fetchSymbol() to get the actual symbol object from the web style, then modify the color or size. You can do some playing around with basics Symbols in the Symbol Builder (mini app) to play around with both SimpleMarkerSymbols and WebStyleSymbols to create a symbol and copy the code: Simple: Symbol Builder (sagewall.github.io) WebStyle: Symbol Builder (sagewall.github.io) Hope this helps
... View more
06-15-2023
06:16 AM
|
1
|
3
|
3155
|
|
POST
|
Hi @AnneFitz - thank you for the quick reply. One new observation... If I add a text symbol, then an overlap text symbol: Issue appears; However, If I add a text symbol, then a random other graphic (line/point, etc), then the second overlap text symbol: They draw correctly. Seems like it only happens when the two textSymbol graphics are in the graphics array immediately adjacent. Wasn't an exhaustive test but wanted to mention.
... View more
06-14-2023
12:35 PM
|
0
|
0
|
1734
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-28-2025 01:15 PM | |
| 1 | 01-07-2025 06:32 AM | |
| 1 | 09-06-2024 09:59 AM | |
| 1 | 07-09-2024 12:04 PM | |
| 2 | 05-16-2024 05:32 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|