POST
|
Is there a way to display a label next to the widget in the View UI? For instance I would like to place text that says "Draw an outline" that is anchored to the button here. Thanks! view.when(() => { const sketch = new Sketch({ layer: graphicsLayer, view: view, creationMode: "update", snappingOptions: { enabled: true, featureSources: [ { layer: graphicsLayer, enabled: true }, { layer: rafterGraphicsLayer, enabled: true }, ], }, tooltipOptions: { enabled: true }, labelOptions: { enabled: true }, visibleElements: { createTools: { point: false, rectangle: false, polyline: false, polygon: true, circle: false, }, selectionTools: { "lasso-selection": false, "rectangle-selection": false, }, settingsMenu: false, undoRedoMenu: false, duplicateButton: false } }); view.ui.add(sketch, "top-right"); })
... View more
3 weeks ago
|
0
|
0
|
118
|
POST
|
This error seems to be pretty sporadic and I've found absolutely no rhyme or reason to it, but this error has been occurring when trying to update an existing point with an attachment and attributes in Field Maps. Restarting the device seems to solve the issue most of the time, but its happened on both Android and iPhone devices for multiple users. I pulled the Field Apps error log and it was blank of any messages however the ArcGIS server log does show this. SEVERE Feb 26, 2024, 3:58:13 PM Error: Unsupported request name. *****/*****MapServer SEVERE Feb 26, 2024, 3:58:13 PM Unsupported request name.***** *****/*****.MapServer
... View more
02-26-2024
04:39 PM
|
0
|
0
|
142
|
BLOG
|
Will we be able to host HTML files then in our content to replace the embedded codes we will lose access to? We can't have people logging in twice to see an HTML file hosted on a third party site.
... View more
06-05-2023
03:23 PM
|
1
|
0
|
137
|
POST
|
Mistake of my own making, changed the lines to jobInfo.waitForJobCompletion(options).then(() => {
jobInfo.fetchResultData('outfile').then(function(result){
outputFileUrl = result.value.url;
window.open(outputFileUrl, "_blank"); and it works as planned. Thanks to everyone who took a look!
... View more
04-07-2023
12:22 PM
|
0
|
0
|
351
|
POST
|
Hi all, I've been working on a GP tool that will take a record and print out a PDF report on it. I'm trying to use some Javascript within an HTML embed to call the tool when a link is clicked. It will generate the report, check when the job is completed, then open the URL to the PDf in a new tab. Its 99% working, and I can see the server generate the report in the log and can follow the Job ID and open the PDF on my own, however JobInfo in the code never seems to return a completed status to open it up in a tab. I can see it checking the status every 1.5 seconds in the server log though. Any ideas why lines 30-32 just won't go anywhere? <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Print Abstract of Bids</title>
<script src="https://js.arcgis.com/4.20/"></script>
<script>
function executeGeoprocessing() {
var outputFileUrl;
var params = {};
params.contract = "10-100"; //sample record, change to variable on embed
const url = "https://xxxxxxxx/xxxxxx/rest/services/PrepareAbstractOfBids/GPServer/Prepare%20Abstract%20of%20Bids";
require([
"esri/tasks/Geoprocessor",
"esri/rest/support/JobInfo"
], function(Geoprocessor, JobInfo) {
var gp = new Geoprocessor(url);
gp.submitJob(params).then((jobInfo) => {
const jobid = jobInfo.jobId;
console.log("ArcGIS Server job ID: ", jobid);
const options = {
interval: 1500,
statusCallback: (j) => {
console.log("Job Status: ", j.jobStatus);
}
};
jobInfo.waitForJobCompletion(options).then(() => {
outputFileUrl = jobInfo.jobOutputInfo[0].value.url;
window.open(outputFileUrl, "_blank");
});
});
});
}
document.addEventListener("DOMContentLoaded", function(event) {
var link = document.getElementById("print-abstract-link");
link.addEventListener("click", function(event) {
event.preventDefault();
executeGeoprocessing();
});
});
</script>
</head>
<body>
<p><a href="#" id="print-abstract-link">Print Abstract</a></p><br>
</body>
</html>
... View more
04-07-2023
10:05 AM
|
0
|
1
|
379
|
IDEA
|
Is there any update on this? We use dozens of web forms and being able to grid the layout would be a huge improvement!
... View more
04-05-2023
07:44 AM
|
0
|
0
|
705
|
POST
|
This is a critical feature we've been waiting on. Downloading from embedded apps hasn't worked for us since downloads are blocked in an i-frame (and our computers don't allow changing settings). Plus Experience Builder tables are capped at 5000 records so those don't work. Any word on if this will be in 11.1?
... View more
12-08-2022
07:06 AM
|
0
|
1
|
1629
|
POST
|
After following Brian's answer above I was also able to add the following to my settings.json file and VS Code finally starts up my Pro env in the terminal by default without the conda init warning. I'm using command prompt as my default shell. "python.terminal.activateEnvironment": false
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
],
"args": [
"/k",
"C:/Program Files/ArcGIS/Pro\\bin/Python/Scripts/proenv.bat"],
"icon": "terminal-cmd"
},
"Git Bash": {
"source": "Git Bash"
}
}
... View more
11-30-2022
06:58 AM
|
0
|
0
|
1885
|
POST
|
Also interested in this as all of our photo submissions have more than one file. Even just tacking a 1, 2, or 3 at the end of each subsequent file would work.
... View more
11-21-2022
06:19 AM
|
0
|
0
|
839
|
POST
|
I have an editing-mode Survey123 webform embedded in a dashboard that filters off of a category selector. About 1 in every 5 selections of a feature from the category selector the form fails to load: The form seems to pop up for a split second before moving to the error. I don't think it has anything to do with the attributes in the field because I can reload the same feature over and over and it will error out eventually. However reselecting the record will generally prompt it to load correctly. Its coming from a feature layer hosted in an SDE. Not seeing any error in Chrome developer tools. Anything I can try?
... View more
11-15-2022
03:26 PM
|
0
|
6
|
820
|
POST
|
This is occurring to me as well for any fields that are hidden. I've confirmed bind:type and esri:bind:type are correct as well as the alias. Toggling between hidden or text is the difference whether or not it will publish.
... View more
11-12-2022
07:54 AM
|
0
|
2
|
1352
|
POST
|
I have been getting this quite often lately. Luckily hitting update again will generally fix it but definitely annoying.
... View more
10-27-2022
06:05 PM
|
0
|
0
|
399
|
POST
|
Have a survey that is meant to be opened using the inbox to view current features and submit a pass/fail on them. On a very small percentage (few dozen out of thousands) some users are getting a "500 Error: Attachment does not have contentType". The layer is a feature service coming from an SDE so I opened up the attachment table expecting to see some null values in the content type field but everything was present. Here are the attachments for one of the features that is giving the error. They all appear in the inbox as existing photos. Any ideas on this would be appreciated!
... View more
10-25-2022
07:57 AM
|
0
|
0
|
209
|
POST
|
This has happened periodically before be it seems ever since upgrading to 3.0 Pro is adamant about closing as soon as I experience the smallest network hiccup. We use a concurrent license server and it used to be if it lost it would say you have 24 hours and it was good about reconnecting. Now it goes straight to "Pro will now close" and just goes into an endless loop of opening licensing error messages. This happens to me at least 2 or 3 times a day.
... View more
09-27-2022
10:09 AM
|
0
|
0
|
158
|
POST
|
Yep you read the title right. Luckily this happened on a test layer. I created a very simple point layer with a related table, only a couple of text fields in each (built natively in AGOL, not published from Pro). Purpose was to be a sandbox layer for testing out Arcade expressions in Field Maps to hopefully replace a few Survey123 forms. Built a simple template in the Field Maps app page and tested a few calculated expressions (does it really not let you submit if a calculation fails? That's a no-go). Well after submitting a point, I went into its web map viewer and clicked on "Forms" on the right-side panel. It acted like no form was built so I redid the template and saved. Soon as it went back to the web map, the point layer was throwing data errors. I haven't been able to access the feature layer since. Never seen a layer break like that before. Not a huge deal since I was just messing around, but does make me nervous about trying it in a production environment. Is there anything else that might have caused that?
... View more
09-02-2022
05:49 PM
|
0
|
1
|
262
|
Title | Kudos | Posted |
---|---|---|
1 | 06-05-2023 03:23 PM | |
1 | 02-03-2022 12:38 PM | |
1 | 07-25-2022 08:29 AM | |
1 | 11-04-2021 05:58 AM | |
1 | 05-03-2021 07:54 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|