|
POST
|
Thank you for your help Wolfgang Kaiser i will try upgrading my pro to see if that fixes it.
... View more
05-06-2020
08:05 PM
|
0
|
0
|
2051
|
|
POST
|
Hi Wolfgang Kaiser, I tested your code and I ran into the same issue. Can I check what version of Pro and SDK are you using?
... View more
05-05-2020
07:08 PM
|
0
|
2
|
2051
|
|
POST
|
Hi please take a look at Portal Self—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers which will return you "user": {
"username": "<username>",
"id": "<id>",
"fullName": "<first name> <last name>",
"availableCredits": <available credits>,
"assignedCredits": <allocated credits>,
"firstName": "<first name>",
"lastName": "<last name>",
"preferredView": "Web" | "GIS" | null,
"description": "<description>",
"email": "<email address>",
"idpUsername": "<username>",
"favGroupId": "<group id>",
"lastLogin": <date of user last login shown in UNIX time>,
"mfaEnabled": true | false,
"access": "private" | "org" | "public",
"storageUsage": <storage used - bytes>,
"storageQuota": <storage quota - bytes>,
"org id": "<organization id>"
"role": "org_admin" | "org_publisher" | "org_user",
"privileges": [
"<privilege1>",
"<privilege2>",
"<privilege3>"
...
],
"disabled": true | false,
"userLicenseTypeId": "<user license type id>",
"units": "english" | "metric",
"tags": [
"<tag1>",
"<tag2>"
],
"culture": "<culture code>",
"region": "<region>",
"thumbnail": "<file name>",
"created": <date created shown in UNIX time>,
"modified": <date modified shown in UNIX time>,
"provider": "arcgis" | "enterprise" | "facebook" | "google"
},
... View more
04-29-2020
09:05 PM
|
1
|
4
|
6662
|
|
POST
|
Hi you may be able to use text symbol to give you more control over the label placement. TextSymbol | ArcGIS API for JavaScript 4.15 "Text symbols can also be used to define the symbol property of Graphic if the geometry type is Point or Multipoint."
... View more
04-29-2020
08:46 PM
|
0
|
0
|
578
|
|
POST
|
Hi, not sure what you mean but are you referring to using it as a link? HTML a target Attribute <a href="http link to your image" target="_blank">Image</a> Just note that if you want to share that image, it needs to be hosted on a web server so that it can be accessed via http/https
... View more
04-29-2020
08:27 PM
|
0
|
0
|
1132
|
|
POST
|
I had graphic layer with over 5k points and works fine however if it is easy enough for you to convert it to GeoJSON, that would probably be better practice and will make your life easier in the future to maintain
... View more
04-29-2020
08:23 PM
|
2
|
0
|
2652
|
|
POST
|
Thank you Michael Reither looking at the rest api, it doesn't look like the alerts can be created dynamically. Only retrieval of results Access the ArcGIS Monitor API—ArcGIS Monitor Server application | Documentation for ArcGIS Enterprise I will see if the second approach of using the rest api to access the report is feasible. Issue we have is that the client wants a hands off approach where if they publish a map service, they want that map service to automatically be monitored without having to login to monitor to create alert.
... View more
04-29-2020
07:58 PM
|
0
|
1
|
1326
|
|
POST
|
Hi, looking at the samples I have the following code which works great. However the moment I run gpResult = await Geoprocessing.ExecuteToolAsync("ChangeVersion_management", parameters) before or after the initialization of ProgressDialog, the message doesn't get updated. //Run the line below and ProgressDialog no longer works.
gpResult = await Geoprocessing.ExecuteToolAsync("ChangeVersion_management", parameters);
uint maxSteps = 10;
var pd = new ArcGIS.Desktop.Framework.Threading.Tasks.ProgressDialog("Running SPU", maxSteps, false);
ProgressorSource cps = new ProgressorSource(pd);
cps.Progressor.Max = (uint)maxSteps;
await QueuedTask.Run(() => {
//check every second
for (int i = 0; i < 10; i++)
{
cps.Progressor.Value += 1;
cps.Progressor.Status = (cps.Progressor.Value * 100 / cps.Progressor.Max) + @" % Completed";
cps.Progressor.Message = "Message " + cps.Progressor.Value;
if (System.Diagnostics.Debugger.IsAttached)
{
System.Diagnostics.Debug.WriteLine(string.Format("RunCancelableProgress Loop{0}", cps.Progressor.Value));
}
//block the CIM for a second
Task.Delay(1000).Wait();
//are we done?
if (cps.Progressor.Value == cps.Progressor.Max) break;
}
}, cps.Progressor); Note, i am NOT after having the dialog or cancellation progress dialog running with the GP. I just need to run the GP and then after the GP have completed, show the progress dialog for some other tasks. Thank you in advance.
... View more
04-29-2020
07:49 PM
|
0
|
5
|
2180
|
|
POST
|
Hi, I have been following the sample Access ArcGIS Online items using OAuthentication - 4.15 and i kept getting a invalid redirect_uri. I have done the following Add item -> application -> application Register info Add my machine uri to the redirect_uri under registered info I have share this app to my organisation my code can someone please advise what have i done wrong? var info = new OAuthInfo({
// Swap this ID out with registered application ID
appId: "c13v2Nuys97mUArm",
// Uncomment the next line and update if using your own portal
//portalUrl: "",
// Uncomment the next line to prevent the user's signed in state from being shared with other apps on the same domain with the same authNamespace value.
authNamespace: "portal_oauth_inline",
popup: true
});
IdentityManager.registerOAuthInfos([info]);
IdentityManager.getCredential(info.portalUrl + "/sharing")
.then(function(){
const map = new Map({
basemap: "hybrid",
layers: [layers]
});
const view = new MapView({
container: "viewDiv",
map: map,
center: [116, -32],
zoom: 10,
popup: {
autoOpenEnabled: true
}
});
//do whatever else
... View more
04-24-2020
01:46 AM
|
1
|
2
|
2021
|
|
POST
|
JS probably isn't the best way to achieve this. Some options that comes to mind are Custom SOI - service object inteceptor which when detects an update/insert/delete send an email Database table trigger if you are using enterprise geodatabase.
... View more
04-22-2020
07:33 PM
|
0
|
1
|
1565
|
|
POST
|
Exactly the same issue using the python api, the typical solution will be to iterate the results and find one that matches name/title/type exactly. Again if 2 items have the exact same name/title/type they will still both be returned.
... View more
04-22-2020
06:58 PM
|
0
|
2
|
1419
|
|
POST
|
Hi is it possible to automatically add a alert for a newly published service? Perhaps somewhere along the line where User publish new service trigger webhook create a alert in arcgis monitor From the monitor rest API, I can only see the retrieval of alert data. Alternatively is there a way to monitor all the map service and if any of them takes too long to response, flag a warning. The use case here is to ensure none of the map service that have been published takes no longer than x amount of time to response for any request at any scale.
... View more
04-22-2020
06:42 PM
|
0
|
3
|
1487
|
|
POST
|
Hi I am working with IT to setup SAML for a client's ArcGIS online account. However I kept receving the error below. I have been told the Name_ID is mapped correctly as shown below. How can I debug this? I have tried using chrome saml trace tool however I do not know what I should be looking out for. Is there a way to see the actual response from SAML that caused this error?
... View more
04-14-2020
01:35 AM
|
0
|
0
|
706
|
|
POST
|
Thank you for that, however I have tried as you have suggested but nothing worked. The example I was reduce to be as simple as possible from the original code therefore nothing was running before it. The data is retrieve from a rest api and pushed into a FC, no gdb or shapefile involved. Unfortunately due to time constraint, i had to work around this. Again thank you for your time
... View more
02-19-2020
11:43 PM
|
2
|
1
|
1625
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-23-2021 06:05 AM | |
| 1 | 04-24-2020 01:46 AM | |
| 1 | 03-29-2022 06:53 PM | |
| 1 | 07-22-2021 07:59 PM | |
| 1 | 03-30-2022 04:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
03-30-2022
06:13 PM
|