|
POST
|
In this case, you have 3 parameters, so you should be able to add 3 different inputs to the input json. var inputs = {};
inputs["Item"] = ArcGISRuntimeEnvironment.createObject("GeoprocessingString", {value: "string value"});
inputs["PublicPrivate"] = ArcGISRuntimeEnvironment.createObject("GeoprocessingString", {value: "string value"});
inputs["CaseNumber"] = ArcGISRuntimeEnvironment.createObject("GeoprocessingString", {value: "string value"});
... View more
09-20-2019
10:39 AM
|
0
|
4
|
1551
|
|
POST
|
Here is a simplified example from our unit tests that shows how to create parameters, add gp string input, and input to the parameters. It is very similar to what you have, but I'm wondering about your "params44" variable - do you want that to be a JSON string? var gpParameters = ArcGISRuntimeEnvironment.createObject("GeoprocessingParameters",
{executionType: Enums.GeoprocessingExecutionTypeSynchronousExecute
});
var inputs = {};
inputs["InputString"] = ArcGISRuntimeEnvironment.createObject("GeoprocessingString", {value: "string value"});
gpParameters.inputs = inputs;
... View more
09-20-2019
08:41 AM
|
0
|
6
|
1551
|
|
POST
|
Geoprocessing is now available in ArcGIS Runtime. You should be able to create a GeoprocessingTask by pointing to your service URL, create/modify parameters, and execute the task/job. Here is the API ref doc - GeoprocessingTask QML Type | ArcGIS for Developers Here is some conceptual doc for GP in Runtime - Run a geoprocessing task—ArcGIS Runtime SDK for Qt | ArcGIS for Developers Here is a sample of using the GeoprocessingTask - arcgis-runtime-samples-qt/ArcGISRuntimeSDKQt_QMLSamples/Analysis/AnalyzeViewshed at master · Esri/arcgis-runtime-samples…
... View more
09-19-2019
01:02 PM
|
0
|
9
|
2650
|
|
POST
|
Hi Mark- As you mentioned, populateFromService is intended for use with manual cache mode only. If you want a specialized feature request workflow, then I suggest manual cache mode. If the on interaction cache mode works except for this one scenario, there are a couple workarounds to try: - set the refresh interval on the feature layer. This will update at a given interval but not after an event such as an edit. - manually setViewpoint on the MapView after an edit was completed. Something that just slightly changes the MapViews extent should be enough to trigger a request. As a test, I opened the Add Features sample in Qt Creator and opened the same feature service in the browser. On applyEditsStatusChanged signal, I call `mapView.setViewpointScale(mapView.mapScale - 100);`. I then add a feature in the browser, next add a feature in my Qt app, and the feature added from the browser shows up after.
... View more
09-11-2019
10:44 AM
|
0
|
0
|
1075
|
|
POST
|
Hi Norbert, Have you tried running the Search for Webmaps sample? I think this should largely accomplish what you are wanting to do. To connect to your own portal, you will need to specify your Portal URL and specify that loginRequired is true in the constructor - https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/SearchForWebmap/SearchForWebmap.cpp#L31 If you run this sample from the sample viewer, it should work out of the box. If you run from the github project, you'll need to uncomment the AuthenticationView here - https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_CppSamples/CloudAndPortal/SearchForWebmap/SearchForWebmap.qml#L192 You aren't required to use the AuthenticationView in your solution. The general idea is that the AuthenticationManager handles all network challenges that are issued. For example, if you create a Portal object with a URL to your org and set loginRequired to true, when you load() that Portal, it will send a request to the Portal, a challenge will be issued, and the authenticationChallenge signal will emit on the AuthenticationManager singleton - https://developers.arcgis.com/qt/latest/cpp/api-reference/esri-arcgisruntime-authenticationmanager.html#authenticationChallenge. It is then up to you to fulfill that challenge or ignore it. If the signal returns and you haven't done anything with the AuthenticationChallenge, it will go out of scope and the authentication will fail. If you want to fulfill the challenge, you will call one of the "continue" methods and pass in valid credentials. This is discussed in the AuthenticationManager section here - https://developers.arcgis.com/qt/latest/cpp/guide/access-the-arcgis-platform.htm
... View more
09-05-2019
07:59 AM
|
0
|
1
|
1264
|
|
POST
|
Hi Haikal- I took a look at your project. There's a few things going on here: First off, regarding the QML w/ QDockWidgets - If you are ultimately creating a QWidgets based application, why create your MapView in QML and then display as a QQuickView inside a QDockWidget? We don't really test for this scenario and would recommend you use our C++ Widgets API (MapGraphicsView). We generally would recommend a user to use either our C++ API OR our QML API within an application. Second question would be if you could consider just using our C++ API with Widgets view for the OpenStreetMap component. We have an OpenStreetMap Basemap type that you could just add to your ArcGIS Map type, which would mean you would have all of your code in C++ with Runtime and wouldn't need Qt Location as well. This is just a suggestion that might help simplify your workflow and you won't need to maintain 2 separate mapping workflows (Qt Location and Runtime) in the same app. Regarding drop shadow, it does seem like something is wrong here. I'll log an issue for us to investigate. I was able to reproduce by taking our Display a Map sample (https://github.com/Esri/arcgis-runtime-samples-qt/blob/master/ArcGISRuntimeSDKQt_CppSamples_Widgets/Maps/DisplayMap/DisplayMap.cpp) and adding the below lines to it. A workaround I noticed was that if I interact with the map, the map displays again, so I can force a redraw by setting the viewpoint, and it works again. Maybe you can try adding something similar to workaround the issue. DisplayMap::DisplayMap(QWidget* parent) :
QWidget(parent)
{
// Create a map using a basemap
m_map = new Map(Basemap::imagery(this), this);
// Create a map view, and pass in the map
m_mapView = new MapGraphicsView(m_map, this);
// create drop shadow effect
QGraphicsDropShadowEffect* shadow = new QGraphicsDropShadowEffect(this);
shadow->setBlurRadius(50);
shadow->setXOffset(10);
shadow->setYOffset(10);
shadow->setColor(Qt::black);
shadow->setEnabled(true);
// Set up the UI
QVBoxLayout *vBoxLayout = new QVBoxLayout();
vBoxLayout->addWidget(m_mapView);
// add button
QPushButton* pushButton = new QPushButton(this);
pushButton->setText("Add Drop Shadow");
connect(pushButton, &QPushButton::clicked, this, [=]()
{
m_mapView->setGraphicsEffect(shadow);
// set viewpoint which will force a re-draw
m_mapView->setViewpointScale(m_mapView->mapScale() + 1);
m_mapView->setViewpointScale(m_mapView->mapScale() - 1);
});
vBoxLayout->addWidget(pushButton);
setLayout(vBoxLayout);
} Regarding the docking issue, I am seeing this issue as well with our C++ Widgets API. I'll need to log a work item to look at this.
... View more
09-03-2019
10:16 AM
|
0
|
2
|
1889
|
|
POST
|
Hi Norbert- Luke was able to reproduce the issue you are seeing. We are still investigating the cause and will need to do an analysis on the affected versions. We've logged a work item internally to do this work, but please continue to work with support to get a bug logged through that system, so that we can properly link up the work items to your account. Updates to the status of the bug will then be made through the bug attached to your account. Thanks, Lucas
... View more
09-03-2019
07:13 AM
|
0
|
3
|
985
|
|
POST
|
Hi Norbert, Our arcade-based style files will be hosted in an ArcGIS Online going forward. Here you can find all of the various standards we support - https://www.arcgis.com/home/search.html?q=owner%3A%22styles_esri%22%20mil&restrict=false&start=1&num=20 I'll work on getting our documentation properly linked up to this. Thanks, Lucas
... View more
08-29-2019
07:07 AM
|
2
|
1
|
1560
|
|
POST
|
Couple of questions: - Are you using the latest version of AppStudio from the Early Adopter Site. If you go to About AppStudio > System Information, ArcGIS Runtime version should be 100.6.2514. - What version of Portal are you using? - Are you using OAuth or Token based security (or something else)? - On app start up, are you pre-loading the credential cache with an access token and refresh token? If so, have you made sure to store the most recent refresh token and not an older version? Runtime 100.6 did some work to invalidate out of date refresh tokens. cc Erwin Soekianto
... View more
08-28-2019
02:17 PM
|
0
|
2
|
1221
|
|
POST
|
There's no way in the API to force reestablishing connection - once online again, the layer should work as expected automatically. Are you able to share a reproducer app that showcases the issue? If you have Esri Support, I suggest you contact them and they can help you work through the issue and get a bug logged in our system if there indeed is an issue - https://support.esri.com/en/contact-tech-support
... View more
08-28-2019
07:31 AM
|
0
|
1
|
2037
|
|
POST
|
I tested this out on Windows but couldn't reproduce the issue. If this is a high priority issue, I suggest you contact Esri Support to troubleshoot further.
... View more
08-19-2019
08:26 AM
|
0
|
0
|
3618
|
|
POST
|
I'm unclear what the issue being reported is. I believe the initial issue is referring to a Runtime SDK for Qt app whereas the reports from Brian and Jos are with the Scene Viewer app in the browser? If you are experiencing issues with the scene viewer in the browser, it would be best to report this to the ArcGIS Online space.
... View more
08-16-2019
10:34 AM
|
0
|
1
|
3618
|
|
POST
|
Hi Norbert- I understand the issue you are hitting. We have a backlog item to fix this up, so I'll add your information to this. Since we don't expose a setter for the full extent, I can't think of any good workarounds, other than to make sure your initial basemap that you set is bigger than the area of both basemaps combined.
... View more
08-15-2019
02:07 PM
|
1
|
3
|
2255
|
|
POST
|
Did you get to the bottom of this? This could be several different things, so hard to say without looking at your system. Couple of questions: - are you using msvc and not mingw compiler? - are you using 32 or 64 bit windows qt kit? - when you build and run the app, does everything work? or is it just a console warning in the IDE? - Do you see any logs like the following in the Qt Creator general messages console log? This would indicate everything was found ok. Project MESSAGE: ArcGIS Runtime for Windows (x86_64) Project MESSAGE: Version 100.5
... View more
08-15-2019
12:59 PM
|
0
|
0
|
1017
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 05-27-2026 09:52 AM | |
| 1 | 11-24-2025 10:45 AM | |
| 1 | 07-30-2025 08:26 AM | |
| 1 | 05-15-2025 07:35 AM | |
| 2 | 11-26-2024 01:27 PM |
| Online Status |
Offline
|
| Date Last Visited |
a month ago
|