POST
|
@KellyHutchins Perfect! That is exactly what I was looking for. Thank you so much for your help!
... View more
01-31-2024
05:24 PM
|
0
|
0
|
243
|
POST
|
I have created a Media Map with a custom URL parameter as described here: Configure a web app using URL parameters | Documentation | ArcGIS Developers The URL parameter works, but when the feature is selected, the popup with the feature attributes appears in its full expanded state. Is there a way to disable the popup or at least have it open only in its collapsed state (preferably via a URL parameter, but any means would do)? I've tried removing the popups from the Media Map's webmap, but that didn't make any difference -- the pop-ups still appear. Thanks in advance for any guidance you can provide.
... View more
01-29-2024
06:39 PM
|
0
|
4
|
336
|
POST
|
The Portal for ArcGIS Security 2023 Update 1 Patch (esri.com) fixed this issue for us.
... View more
07-03-2023
01:30 PM
|
2
|
1
|
339
|
POST
|
We are encountering the same issue in our ArcGIS Enterprise 10.9.1 installation after installing the Security Update Patch B. Given that uninstalling the patch is the current workaround, we now have to make the choice between lowering the security on our Portal or having these applications work. Is ESRI working on a Patch C for this issue and is there an ETA for its release?
... View more
01-19-2023
11:58 AM
|
2
|
0
|
460
|
IDEA
|
As an administrator, it would be very helpful to have a convenient way to download a list of registered users to our Portal or ArcGIS Organization in a CSV or XLS format. This functionality would enable us to generate our own custom queries, filters and reports to better manage our Portal and AGOL organization. While it is possible to generate such a list using the Python API, it would be much more convenient to have this functionality built into the administrator's view on Portal/AGOL. This enhancement request has been logged as ENH-000120730. Thanks.
... View more
03-12-2019
01:17 PM
|
22
|
5
|
3470
|
IDEA
|
As an administrator, it would be very helpful to have a convenient way to download a list of registered users to our Portal or ArcGIS Organization in a CSV or XLS format. This functionality would enable us to generate our own custom queries, filters and reports to better manage our Portal and AGOL organization. While it is possible to generate such a list using the Python API, it would be much more convenient to have this functionality built into the administrator's view on Portal/AGOL. This enhancement request has been logged as ENH-000120730. Thanks.
... View more
03-12-2019
01:17 PM
|
22
|
4
|
1835
|
POST
|
So after a bit of trial-and-error, I was able to resolve the issue by changing the import statement from import urlUtils from "esri/core/urlUtils"; to import urlUtils = require("esri/core/urlUtils"); That same change also fixed a similar issue I was experiencing with promiseUtils. It's not clear to me when you use one syntax of the other, but the fix works.
... View more
12-10-2018
05:30 PM
|
2
|
0
|
1880
|
POST
|
I have created an application based upon the ArcGIS Javascript API 4.9 Webpack demo application (https://github.com/Esri/jsapi-resources/tree/master/4.x/webpack). The application is written in Typescript and is structured in the same manner as the demo. It currently works fine with unsecured services. However, I wish to add a proxy so that the application will use secured services, but so far have been unable to get urlUtils.addProxyRule() to work in the Typescript environment. I've tried adding the call to the demo/src/data/app.ts file: import esri = __esri;
import urlUtils from "esri/core/urlUtils";
import MapImageLayer from "esri/layers/MapImageLayer";
...
urlUtils.addProxyRule({
urlPrefix: "my.server.com",
proxyUrl: "https://path.to.proxy/proxy.ashx"
}); export const myLayer = new MapImageLayer({
url: "https://my.server.com/arcgis/rest/services/myService/MapServer",
sublayers: [{id: 0}],
opacity: 1.0
}); I've also tried adding the call to the demo/src/widgets/App.tsx file: import esri = __esri;
import urlUtils from "esri/core/urlUtils";
...
private onAfterCreate(element: HTMLDivElement){
urlUtils.addProxyRule({
urlPrefix: "my.server.com",
proxyUrl: "https://path.to.proxy/proxy.ashx"
});
import("./../data/app).then(...)
} In both instances, the application fails on the urlUtils.addProxyRule call: Uncaught TypeError: Cannot read property 'addProxyRule' of undefined I have coded a number of applications in the JSAPI 3.x and 4.x, but this is my first using Typescript and Webpack, so I'm at a bit of a loss as to the error. Any assistance or guidance would be greatly appreciated. Thanks!
... View more
12-07-2018
05:38 PM
|
0
|
3
|
2425
|
POST
|
Derek: Thanks for the reply. I'll take a look at the DeferredList option. The esri.geometry.getLength() option only seems to work for point-to-point, and I need to do point-to-line and point-to-poly calculations. Jeff
... View more
08-04-2011
09:47 AM
|
0
|
0
|
425
|
POST
|
I've searched through the forums and a bunch of dojo sites on Google, but haven't been able to find an answer for a problem that has stumped me for the past couple of days. So, I thought I'd just go ahead and ask straight out. I am trying to write a function that calculates the distances between a point and each feature that falls within a buffer around that point. After performing the spatial query, the result set from the query is passed to the function that then returns an array of objects containing selected attributes from the features and the distance calculation. Here's a code snippet.
var distanceParams = new esri.tasks.DistanceParameters();
distanceParams.distanceUnit = esri.tasks.GeometryService.UNIT_STATUTE_MILE;
distanceParams.geometry1 = myMap.geocodePoint; //the point being buffered
var myAttributeArray = dojo.map(bufferQueryResultSet.features, function(res){
var attr = {};
attr.ID = res.attributes.ID;
attr.NAME = res.attributes.NAME;
distanceParams.geometry2 = res.geometry;
myMap.geometryServer.distance(distanceParams, function(d){
attr.DISTANCE = d;
}).then(function(){return attr;});
});
The function as written above returns myAttributeArray as an array of undefined objects. If I rewrite the last few lines as:
myMap.geometryServer.distance(distanceParams, function(d){
attr.DISTANCE = d;
});
return attr;
...then myAttributeArray comprises objects with only ID and NAME defined. I also tried:
attr.DISTANCE = myMap.geometryServer.distance(distanceParams, function(d){
return d;
});
return attr;
...and that gave me an array of objects with ID and NAME defined and DISTANCE defined as a dojo.Deferred object. I know that there must be something with dojo.Deferred that I'm overlooking, but I'm not sure what. Any assistance would be greatly appreciated. Thanks! Jeff Kapellas California State Water Resources Control Board
... View more
08-02-2011
02:48 PM
|
1
|
2
|
1022
|
Title | Kudos | Posted |
---|---|---|
2 | 07-03-2023 01:30 PM | |
2 | 01-19-2023 11:58 AM | |
22 | 03-12-2019 01:17 PM | |
22 | 03-12-2019 01:17 PM | |
2 | 12-10-2018 05:30 PM |
Online Status |
Offline
|
Date Last Visited |
03-19-2024
02:56 PM
|