|
BLOG
|
ArcGIS Companion v1.1 just went out. We have added some new features and improvements to the app. Here are the highlights of the release 1) Folder Support - With v1.1 you are now able to browse your content within individual folders you have created in your Organization (Org). Also if you auto sign in it remembers your last browsed folder. To browse content in your folders, go to the content tab and select a folder from the drop down menu. Along with the folders you also have access to the My favorites and My organization content. 2) Invite users to Org [Administrator only] - This has been one of the requested feature, the ability to add or invite users to your Org. In v1.1 we have added the option to "Add member and notify them via Email" which is 1 of the 3 options currently available in ArcGIS . The other options will be available in the next release. Sign in to the Org as an admin > switch to Org tab > Under members tab > tap on Invite member 3) Showing Authoritative and Deprecated content - ArcGIS Companion now displays public Authoritative content along with the Org name which has recommended the content. It also displays any Deprecated content within or outside the Org. 4) Filter members in Org or group - Another requested feature is to filter and sort members based on roles and perform sorting. This has been added both when viewing and searching Org members and group members. Go to Org members tab and tap on the filters option to choose the filtering based on roles and levels. You can also choose the sort order between member name, last login and level. Alternatively, you can tap on search icon and then add filters and sort option to leverage filtering and sorting within search members. This works the same way for group members within groups. 5) View Credits [Administrator only] - Along with the total credits, administrators can now also view credits consumed in the last 30 days and in the last 24 hours. This is available under the overview section of the Org tab. Exciting new features are coming in the next release and beyond. Please continue to provide your feedback through GeoNet or email us at feedback4myarcgis@esri.com. Thank you.
... View more
08-20-2018
05:42 PM
|
0
|
0
|
2041
|
|
POST
|
Instead of Token, can you use username and password. Credential QML Type | ArcGIS for Developers If you wanna avoid username and password. You could do that using oAuthClientInfo by using clientId and clientSecret approach OAuthClientInfo QML Type | ArcGIS for Developers Nakul
... View more
08-13-2018
08:09 AM
|
0
|
0
|
553
|
|
POST
|
Yes, Related Table is also a Feature Layer. Hence editing, adding or updating records in the Related Table is no different from editing,adding or updating a normal Feature Layer. Please use the same approach to add records as shown in Add & Delete features minus the geometry ( as I suspect your Related Table may not have any geometry associated). Few steps here // You will be using the ServiceFeatureTable.createFeature( <pass the attributes>) to create the Feature where ServiceFeatureTable will be your related Table // Then you relate new feature to origin feature using feature.relateFeature() // Finally, add new feature to related table // Finally, perform applyEdits()
... View more
07-31-2018
01:08 PM
|
0
|
2
|
960
|
|
POST
|
If you are using Appstudio 3.0. Then the sample should have the libraries listed below import QtQuick 2.7
import QtQuick.Controls 2.1
import QtQuick.Layouts 1.1
import QtQuick.Controls.Material 2.1
import ArcGIS.AppFramework 1.0
import ArcGIS.AppFramework.Controls 1.0
import Esri.ArcGISRuntime 100.2
... View more
07-13-2018
01:16 PM
|
1
|
1
|
1871
|
|
POST
|
Hi Kyle, Sorry to hear that. Yes it is quite simple to get attributes from the GeoElement. GeoElement has a sub class called Feature and Feature provides a property called attributes which is a ListModel (the model name is AttributeListModel in Runtime) that has the attribute names and value listed. However, showing it in a dialog or a popup is a UI aspect and it can vary on the users requirement. This can be done in many ways. AttributeListModel QML Type | ArcGIS for Developers But just to give you a proof of concept I have provided a code snippet below for you to show how we can tweak the Feature Layer Selection Sample to show the feature attributes when you click on the feature. In this sample I have added a Dialog known as Pane which show all the attribute values along with the name using the AttributeListModel to show the attributes. property real scaleFactor: AppFramework.displayScaleFactor
property string displayText: "Click or tap to select features."
ListModel{
id:displayAttributesModel
}
// Map view UI presentation at top
MapView {
id: mapView
anchors {
left: parent.left
right: parent.right
top: parent.top
bottom: messageBar.top
}
wrapAroundMode: Enums.WrapAroundModeDisabled
Map {
id: map
BasemapStreets {}
FeatureLayer {
id: featureLayer
selectionColor: "cyan"
selectionWidth: 3
// feature table
ServiceFeatureTable {
id: featureTable
url: "http://sampleserver6.arcgisonline.com/arcgis/rest/services/DamageAssessment/FeatureServer/0"
}
}
onLoadStatusChanged: {
if (loadStatus === Enums.LoadStatusLoaded) {
mapView.setViewpoint(viewPoint);
}
}
}
// initial viewpoint
ViewpointCenter {
id: viewPoint
Point {
x: -10800000
y: 4500000
spatialReference: SpatialReference {
wkid: 102100
}
}
targetScale: 3e7
}
//! [identify feature layer qml api snippet]
onMouseClicked: {
var tolerance = 22;
var returnPopupsOnly = false;
var maximumResults = 1000;
mapView.identifyLayerWithMaxResults(featureLayer, mouse.x, mouse.y, tolerance, returnPopupsOnly, maximumResults);
}
onIdentifyLayerStatusChanged: {
if (identifyLayerStatus === Enums.TaskStatusCompleted) {
// clear any previous selections
featureLayer.clearSelection();
displayAttributesModel.clear();
// create an array to store the features
var identifiedObjects = [];
for (var i = 0; i < identifyLayerResult.geoElements.length; i++){
var elem = identifyLayerResult.geoElements;
identifiedObjects.push(elem);
displayAttributesModel.append(elem);
}
// cache the number of identifyLayerResult
var count = identifyLayerResult.geoElements.length;
// select the features in the feature layer
featureLayer.selectFeatures(identifiedObjects);
displayText = "%1 %2 selected.".arg(count).arg(count > 1 ? "features" : "feature");
}
}
//! [identify feature layer qml api snippet]
// Busy Indicator
BusyIndicator {
anchors.centerIn: parent
height: 48 * scaleFactor
width: height
running: true
Material.accent:"#8f499c"
visible: (mapView.drawStatus === Enums.DrawStatusInProgress)
}
}
Pane {
id: attributeViewDialog
Material.primary: "white"
Material.elevation:2
padding: 5 * scaleFactor
visible: displayAttributesModel.count > 0
x: 10 * scaleFactor
y: 10 * scaleFactor
SwipeView{
id:swipeView
implicitHeight: 150 * scaleFactor
implicitWidth: 175 * scaleFactor
clip: true
Repeater {
model:displayAttributesModel
Rectangle{
color: "white"
clip: true
Flickable {
anchors.fill:parent
contentWidth:parent.width
contentHeight: popupColumn.height
clip: true
flickableDirection: Flickable.VerticalFlick
ColumnLayout {
id: popupColumn
width: parent.width * 0.95
anchors.horizontalCenter: parent.horizontalCenter
spacing: 3 * scaleFactor
clip: true
Text {
Layout.preferredWidth: parent.width
id:itemDesc
text: attributes.attributeValue("objectid")
elide: Text.ElideRight
color: "red"
font {
family: "serif"
pixelSize: 14 * scaleFactor
bold: true
}
renderType: Text.NativeRendering
}
Rectangle {
Layout.preferredWidth: parent.width
Layout.preferredHeight: 2 * scaleFactor
color: "black"
}
Repeater {
model: attributes
RowLayout {
Layout.fillWidth: true
clip: true
spacing: 5 * scaleFactor
Text {
Layout.preferredWidth: popupColumn.width * 0.55
Layout.fillHeight: true
text: attributeName
wrapMode: Text.WrapAnywhere
font.pixelSize: 12 * scaleFactor
color: "gray"
}
Text {
Layout.fillWidth: true
Layout.fillHeight: true
text:attributeValue
wrapMode: Text.WrapAnywhere
font.pixelSize: 12 * scaleFactor
color: "#4f4f4f"
}
}
}
}
}
}
}
}
}
Rectangle {
id: messageBar
anchors {
left: parent.left
right: parent.right
bottom: parent.bottom
}
height: 30 * scaleFactor
color: "lightgrey"
border {
width: 0.5 * scaleFactor
color: "black"
}
Text {
id: msgText
anchors {
verticalCenter: parent.verticalCenter
left: parent.left
leftMargin: 10 * scaleFactor
}
text: displayText
font.pixelSize: 14 * scaleFactor
}
} If you notice in the code I added a SwipeView within the Pane to accommodate multiple selected features. Hence you can swipe horizontally to get to the next feature attributes if you would like. I hope you find this useful. Thank you. Nakul
... View more
07-13-2018
12:19 PM
|
1
|
3
|
1871
|
|
BLOG
|
ArcGIS Companion, a native mobile app created to complement your ArcGIS organization. As a result, managing your ArcGIS content or keeping up with what’s happening in your organization (Org) has never been simpler. Here are the top 5 things an Org admin can do using this app. 5) View the remaining Organization/Member Credits As an Organization (Org) administrator (admin) you can view the credits remaining for the individual members. You can also view the credits remaining for your Org in total along with the expiration date. To view remaining Org credits, go to the Overview section of the My Organization tab. For members credits, switch to the members section of the My Organization tab and tap on the preferred Org member to view members profile which contains the remaining credits. Screenshots below shows the remaining Org credits and an individual member credits. 4) Reset members password As an org admin you can reset any Org members password from their profile page. Once the password has been reset, the corresponding member will receive an email with a temporary password to sign in with a new password. In order to reset any Org members password. Choose any member and go to the profile settings section. Tapping on the Reset password will allow you to reset members password as shown below- 3) Enable/Disable a member Similar to resetting a member, an Org admin can perform other admin tasks such as enabling or disabling an Org member. Disabling a member can be done by tapping on the "Disable member" option available on the members profile > settings > account section. Once the member has been disabled, it will be listed as a disabled member within the Org. Below are screenshots showing the steps to disable a member. 2) Delete an Org Group Only admins have the privilege to delete any group from the Org irrespective of if they are the member of that group or not. To delete a group, select a group from the groups tab and tap on the options menu on the top right to delete a group. This is an irreversible process, hence admins need to careful when doing this. Here are couple of screenshots displaying the delete group task. 1) Updating a member's role ArcGIS Companion provides an important functionality to update an Org member's role. This can be done by visiting member's profile page and tapping on the edit icon of the "Level and Role" section. The Level and Role page will list all the available roles configured in the Org to choose from. Selecting a different role will update the member's role immediately. To check out what other functionalities are supported by the ArcGIS Companion, please read the following blog https://community.esri.com/community/arcgis-companion/blog/2018/07/03/top-15-things-you-can-do-in-arcgis-companion
... View more
07-08-2018
12:34 PM
|
0
|
5
|
2492
|
|
POST
|
Yes, ArcGIS Runtime provides a Geoprocessing task to run your GP service. Here is a doc Run a geoprocessing task—ArcGIS Runtime SDK for Qt | ArcGIS for Developers You can check out AppStudio sample based on ArcGIS Runtime which demonstrates GP Task to calculate a viewshed using a geoprocessing.
... View more
06-29-2018
08:48 AM
|
0
|
0
|
526
|
|
POST
|
Hi Paul, We do provide a way to run your app in different locales within the AppStudio Desktop (AppRun).You need to launch your AppStudio using the command line. For e.g. if I need to launch my AppStudio desktop in arabic. I could do that using the command line <installed location>AppStudio.exe --locale ar Similarly, for German I would use AppStudio.exe --locale de This way you can view how your apps run in the different locales without changing the system locales. This is very effective especially for windows I hope this is what you are looking for. Nakul
... View more
06-29-2018
08:43 AM
|
0
|
1
|
1229
|
|
POST
|
Hi Krishna, Can you sign out of your feature layer in the app and sign in back again? Is you mmpk public? If yes please share your link with us if it still doesn't work. Nakul
... View more
06-20-2018
09:14 AM
|
0
|
0
|
464
|
|
POST
|
I am little confused here. Are you using ArcGIS Runtime within AppStudio to consume a basemap + DynamicLayer or using Android Studio? If you are using Android Studio please log your issue in the Android channel. This channel is for users building apps using AppStudio. Thanks, Nakul
... View more
05-25-2018
05:22 PM
|
0
|
0
|
603
|
|
POST
|
Paul, Is this happening with any particular app or all the apps? Could you please provide more info about the app? What does the app do? If the app has any particular functionality which is not present in your other apps? How can we reproduce it at our end? Any steps to reproduce would be helpful. Thanks, Nakul
... View more
05-25-2018
05:17 PM
|
0
|
1
|
704
|
|
POST
|
I am not able to reproduce the issue on windows 7 x64. Could you please provide any other details which can help me to reproduce the issue? Do you have another machine to test?
... View more
05-22-2018
08:50 AM
|
0
|
3
|
1264
|
|
POST
|
On windows- You can launch AppStudio Desktop in any supported language you like using command line C:\Users\<username>\Applications\ArcGIS\AppStudio\bin\AppStudio.exe --locale en On Mac - just change the Preferred language.
... View more
05-11-2018
12:07 PM
|
0
|
0
|
667
|
|
POST
|
I would first make sure that the point touches the geometry using GeometryEngine::Touches. After that I go through each Part and get the ImmutablePointCollection, and use indexOf(Point point) to see if that point is in that collection or not. For any very specific Runtime Qt questions, please post in the Runtime Qt channel. That way you can get a faster response directly from the Qt Runtime team. I hope this helps Nakul
... View more
04-24-2018
12:09 PM
|
1
|
0
|
655
|
|
POST
|
Hi there, This happened because the ArcGIS.AppFramework.Dialogs has been deprecated with 3.0 release as mentioned here What's new in AppStudio—AppStudio for ArcGIS | ArcGIS This will happen to every existing Quick report template app once upgraded to 3.0. Good news is that the solution is easy and quick. Open the app (using Edit app) in Qt Creator which gets preinstalled with the AppStudio Desktop. Open QuickReport folder> Controls > CameraComponent.qml and remove or comment out this line ( import ArcGIS.AppFramework.Dialogs 1.0) from code. Save the code. Run the app again. If running in player. Upload the app to your Org account and then download or update in Player. Anyone creating an app from the latest template won't have this issue, as it is already been taken care of. I hope this helps Nakul
... View more
04-23-2018
08:19 AM
|
0
|
0
|
953
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-30-2022 08:20 AM | |
| 1 | 06-06-2017 09:24 AM | |
| 1 | 11-19-2019 05:32 PM | |
| 1 | 09-29-2017 04:37 PM | |
| 1 | 12-20-2017 11:02 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-28-2025
11:22 AM
|