POST
|
Hi Lynn, When you edit this data in ArcGIS Online, does the related data act as intended? I would suggest testing via the Web AppBuilder Edit widget to see - check adding, updating and deleting. I tend to use is a 'Composite' type of relationship class (I notice you are using a 'Simple' relationship class) when setting up related data. 'Composite' types are typically used when setting up related records - it is the only way related records are supported in Collector. I'm not sure whether the same applies to Survey123 (it may be an ArcGIS Online limitation), but it's one worth persuing. Another option is to create a Feature Layer using Survey123 Connect - this will ensure that the relationships are being setup appropriately. Publish as much of the schema as possible this way (some of it will still have to be setup via Desktop due to the complexity). Once you do this, you can download the File Geodatabase and add any relationships you may need. If you are using SITEID as part of the relationship, as Ismael mentioned, bear in mind that you will have to use Survey123 Classic. As of 3.x, relationships have to be setup using Global ID's. Mikie
... View more
08-08-2018
01:38 AM
|
0
|
0
|
1355
|
BLOG
|
Hi Andrew, These are available through the Survey123 Early Adopter Community. In the Documentation section you will find a topic for custom pulldata() JavaScript functions. There is also a link to the UC presentations in the Announcements section. Mikie
... View more
08-03-2018
07:35 AM
|
2
|
0
|
4001
|
POST
|
Hi Michael, See attached Excel file for a sample of how this function can be used. type name label readonly calculation decimal DecimalNumber Number integer ToThePowerOf To The Power Of decimal CalcResult Result yes pow(${DecimalNumber}, ${ToThePowerOf}) The results doesn't necessarily have to be read only. Mikie
... View more
07-31-2018
01:46 AM
|
0
|
3
|
1071
|
POST
|
The following code displays private items for me: from IPython.display import display
from arcgis.gis import GIS
ItemId = 'bc9f80dd6ea341f9b420i1998c07ec05'
PortalUserName = 'myCaseSensitiveUsername'
PortalPassword = 'myPassword'
PortalUrl = 'https://www.arcgis.com'
PortalCertVerification = True
gis = GIS(PortalUrl, PortalUserName, PortalPassword, verify_cert=PortalCertVerification)
itemObject = gis.content.get(ItemId)
display(itemObject) As you mentioned it is absolutely possible to access, display and modify private content via the API, and you have it working in various environments. However this particular case is a little different because of the kind of authentication you are using. When you login using OAuth this way by registering an application, you don't gain access to all content owned by the user - there are various built in limitations, as documented here (also listed below): Tokens obtained by applications can only read public content and services. Although you cannot use an App login with private content, if your goal is to distribute or sell an app to organizations without ArcGIS Online (no named users), you may control access to your content by using your own login mechanism (I.e. Identity) to the app. Tokens obtained by applications may read premium content and services hosted by Esri and consume credits on behalf of the application organization. Applications cannot create, update, share, modify, or delete items (layers, files, services, maps) in ArcGIS Online or ArcGIS Enterprise. Applications built using app login cannot be listed in the ArcGIS Marketplace. This is most likely the cause of the permissions message you are getting, and is by design. In order to access private content, you will have to work with one of the other authentication schemes available with the API.
... View more
07-30-2018
08:07 AM
|
0
|
7
|
3257
|
POST
|
Hi Michael, You can use the pow() function to do such calculations. For example if question_one was equal to 2, pow(${question_one}, 3) would return 2 to the power of 3, or 2 * 2 * 2 = 8. Kind regards, Mikie
... View more
07-30-2018
05:55 AM
|
1
|
5
|
1071
|
IDEA
|
One thing I find very useful is to customise the ribbon options as below. This results in a custom Ribbon Tab getting added as below: I find this quite useful for having my most commonly used tools in one place.
... View more
07-26-2018
08:47 AM
|
8
|
1
|
5021
|
DOC
|
Hi Bob, Global ID's are returned with the attachments. You can access them by adding to lines 108-111 as below (both attachment Global ID and attachment parent Global ID accessible): for k in range(len(currentObjectIdAttachments)):
attachmentGlobalId = currentObjectIdAttachments[k]['globalId']
attachmentParentGlobalId = currentObjectIdAttachments[k]['parentGlobalId']
attachmentId = currentObjectIdAttachments[k]['id']
attachmentName = currentObjectIdAttachments[k]['name']
attachmentSize = currentObjectIdAttachments[k]['size'] Then you can reference them when naming the file 117 fileName = '{}-{}-{}'.format(attachmentGlobalId, attachmentParentGlobalId, attachmentName) Mikie
... View more
07-16-2018
07:01 AM
|
1
|
0
|
21189
|
POST
|
Hi Stefano - I suspect the problem you are seeing is related to this thread. Can you take a look at it and see if it helps? When I asked "When you sign to ArcGIS Online, what appears - do you see Sign in to ArcGIS Online at the top of the page?", what I was really wondering is what the Survey123 app screen looks like when you try to sign into ArcGIS Online! Apologies for the confusion. Mikie
... View more
07-13-2018
07:35 AM
|
0
|
0
|
598
|
POST
|
Hi Jim, Repeats can be edited via the Inbox. However you must tell the form how to read them. To do this you specify various options in the bind::esri:parameters column of each begin repeat row. Documentation can be found here and here. Mikie
... View more
07-13-2018
06:21 AM
|
2
|
1
|
745
|
POST
|
Hi Stefano, A couple of follow on questions: What version of Portal are you using? Note Survey123 3.0 does not run against versions of Portal for ArcGIS older than 10.4 as stated in the release blog There is a newly released Survey123 Classic for older versions What kind of device are you using - iOS/Android/iOS/Windows? Have you tried on any other devices/platforms? When you sign to ArcGIS Online, what appears - do you see Sign in to ArcGIS Online at the top of the page? Is the device connected to a restrictive network which would block ArcGIS Online? It might be worth trying over mobile network. Kind regards, Mikie
... View more
07-13-2018
04:43 AM
|
2
|
2
|
598
|
DOC
|
Hi 竹元 貴彦, Did you get the script working with the pre-set public layer? I have not tested this against layers with Japanese. Does the layer itself (layer name, field names, etc.) contain Japanese, or is there Japanese only in the attributes? Is the layer available publically, or could you share it with me through a group? My ArcGIS Online username is mikie.kelly. Kind regards, Mikie
... View more
07-10-2018
08:05 AM
|
0
|
0
|
21189
|
POST
|
Hi Jostein, In the Collector Web Map, have you the following checkbox turned on? This may affect how the attribute is passed through to Survey123. Mikie
... View more
07-10-2018
01:49 AM
|
2
|
1
|
1538
|
IDEA
|
There is a syntax error here: var myY = Geometry($feature),y; The comma needs to be changed to a full stop: var myY = Geometry($feature).y; The XY values returned by Arcade are based on the basemap. So to get the Lat/Lon where the basemap is in Web Mercotor Auxiliary Sphere you need to use the AuxSphereToLatLon function I have in the script I listed above. Here is a webmap which contains the code I have above - you may have to 'Save As' the Web Map to see the popup configuration.
... View more
06-22-2018
01:13 AM
|
0
|
2
|
5234
|
IDEA
|
If you can see the geometry values as a json structure, then it sounds like it's just a syntax problem. Can you post your code on jsbin or similar?
... View more
06-21-2018
01:33 AM
|
0
|
1
|
5234
|
POST
|
A Web Map typically references various Feature Layers. If those layers have limit usage applied and the Web Map is copied to another Portal, the layers with limit usage applied will not work as the referenced layers will be inaccessible. You can stop the Web Map being copied through the Map Viewer using the Save As button by turning off the checkbox you mentioned earlier. But the Web Map configuration can still be accessed by looking at network traffic or looking at it programatically. There is no way to hide this if it is public!
... View more
06-20-2018
08:36 AM
|
0
|
0
|
640
|
Title | Kudos | Posted |
---|---|---|
1 | 03-06-2018 07:35 AM | |
1 | 08-09-2018 08:27 AM | |
1 | 05-29-2017 07:36 AM | |
1 | 06-12-2018 07:02 AM | |
1 | 09-18-2018 08:30 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:22 AM
|