POST
|
After you create your relationship dictionary, you can add that to the layer definition. You need to add a relationship to both the layer and the table. lyr.manager.add_to_definition({"relationships": [lyr_rel_dict]})
tbl.manager.add_to_definition({"relationships": [tbl_rel_dict]})
... View more
05-09-2023
10:01 AM
|
0
|
0
|
718
|
POST
|
Hey, I was running into a similar issue when I noticed you are using item.update() rather than webmap.update(). Took me a while to notice that to reorder operational layers you need to update the item data not necessarily the webmap object. Do you know why this is? It's not very intuitive (to me at least) that you need to update the item and not the webmap. Both have similar update functions but they seem to be capable of different things. Anyway, thank you for posting this code. Cheers!
... View more
08-23-2021
09:55 AM
|
0
|
1
|
850
|
POST
|
Same here. In fact, I was on the phone w/ tech support and they saw the same issue. But then it started working "magically", never got a straight answer as to what is going on. Having the same issue in other web maps as well.
... View more
06-03-2021
07:01 AM
|
0
|
0
|
697
|
POST
|
I am also having a similar issue. I am using the Web Map Viewer Beta and Field Maps is not honoring the order of the fields.
... View more
03-16-2021
07:44 AM
|
2
|
0
|
3957
|
POST
|
This is the way I have done it in the past. Frist, the User object has a folders property that returns a list of folder names. See arcgis.gis module — arcgis 1.8.0 documentation. From there you can verify that the folder you are looking for is, in fact, an actual folder in the user's account. Once you get the folder name you can call the user.items() method. This method has a folder parameter. See arcgis.gis module — arcgis 1.8.0 documentation. The first step is not necessary but its a starting point. Good luck!
... View more
05-07-2020
08:13 AM
|
0
|
0
|
2333
|
POST
|
I cant find any information on what this means Not sure how to fix this.
... View more
05-11-2016
06:32 AM
|
0
|
9
|
4094
|
Title | Kudos | Posted |
---|---|---|
2 | 03-16-2021 07:44 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|