POST
|
I figured it out, I needed to add the GUID of Table A record in the call in order to establish a link [ { "attributes" : { "req_id" : "508389", "req_type" : "Graffiti Complaint - Public Property", "req_date" : "09\/19\/2009", "req_time" : "18:44", "address" : "11TH ST and HARRISON ST", "x_coord" : "6008925.0", "y_coord" : "2108713.8", "district" : "6", "status" : 1, "Guid" : "e2e571db-74a0-4acd-829e-bfe945422f16" "REL_OBJECTID": 1 }, "geometry" : { "x" : -122.41247978999991, "y" : 37.770630098000083 } } ]
... View more
11-29-2016
01:24 AM
|
1
|
0
|
838
|
POST
|
Hi Brian, i have set up a 1:M relationship between Table A and Table B. I noticed if I designate my own Primary Key in Table A and use it as Foreign key in Table B then Collector passes the Primary Key from table A to Foreign Key in Table B correctly. If, on the other hand, I use OBJECTID as PK in Table A then the related REL_OBJECTID in Table B is always set to 0. What is puzzling is that the relationship between the two records definitely exists. I just don't understand how is this possible given 0 value in REL_OBJECTID Thanks Goran
... View more
11-28-2016
10:26 AM
|
0
|
0
|
838
|
POST
|
I have a relationship between table A (Origin) and Table B (Destination). The relationship is set as follows: Table A has PrimaryKey OBJECTID and Table B has Foreign Key REL_OBJECTID I am able to create related data by using ArcGIS Collector app. However when querying the data I noticed REL_OBJECTID is always set to 0 although the relationship clearly exists. As a result I am not able to add new Table B features via ArcGIS REST API (http://<featurelayer-url>/addFeatures) that link to Table A. [ { "attributes" : { "req_id" : "508389", "req_type" : "Graffiti Complaint - Public Property", "req_date" : "09\/19\/2009", "req_time" : "18:44", "address" : "11TH ST and HARRISON ST", "x_coord" : "6008925.0", "y_coord" : "2108713.8", "district" : "6", "status" : 1, "REL_OBJECTID": 1 }, "geometry" : { "x" : -122.41247978999991, "y" : 37.770630098000083 } } ] What am I doing wrong? Thanks Goran
... View more
11-28-2016
08:35 AM
|
0
|
3
|
1843
|
POST
|
Hi Kylie, I have shared the map with everyone in my Organization. I have also tried sharing with individual groups but no luck
... View more
10-04-2016
09:07 AM
|
0
|
2
|
484
|
POST
|
I am using Workforce for ArcGIS and am trying to add Collector Maps but the map I created is not displayed. I can use the map using Collector app in my iPhone. what am I missing?
... View more
10-04-2016
08:55 AM
|
0
|
5
|
1801
|
Title | Kudos | Posted |
---|---|---|
1 | 11-29-2016 01:24 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|