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
|
235
|
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
|
253
|
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
|
288
|
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
|
0
|
548
|
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
|
2
|
635
|
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
|
201
|
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
|
304
|
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
|
149
|
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
|
178
|
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
|
576
|
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
|
593
|
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
|
461
|
POST
|
A TextSymbol has the ability to include a background as part of the symbol. If two TextSymbols with backgrounds overlap, the text of both symbols will be drawn on top of both backgrounds. When applying background to text I was expecting it to be treated as a single symbol object and rendered together. My goal is to have the entire symbol (text/background) stack on top of the other if overlap: Render symbol1 with background; then render symbol2 with background (and if overlaps on symbol1, the background of symbol2 would be on top of symbol1). Since applying a background to text, it would make sense that both the text/background would stack and render together. @AnneFitz I'm hoping you might be able to provide some insight with your previous help on TextSymbol questions. Assuming this is a bug as adding different types of symbols can all overlap text. CodePen of issue: https://codepen.io/bmcintosh/pen/wvQMaaX Attached a few images of the examples as well.
... View more
06-14-2023
09:34 AM
|
1
|
2
|
537
|
POST
|
Thank you Anne. I tested the CDN next and it appears to be working. Looking forward to the rollout fix in 4.27.
... View more
05-02-2023
09:04 AM
|
0
|
0
|
1546
|
POST
|
Hi @AnneFitz , I was just wondering if there might be any updates on a fix for this? Thank you so much for the support.
... View more
04-27-2023
08:01 AM
|
0
|
0
|
1567
|
Title | Kudos | Posted |
---|---|---|
1 | 11-13-2023 12:50 PM | |
1 | 06-15-2023 06:59 PM | |
1 | 06-15-2023 06:16 AM | |
1 | 06-14-2023 09:34 AM | |
2 | 03-17-2023 01:56 PM |
Online Status |
Offline
|
Date Last Visited |
12-21-2023
01:56 PM
|