|
POST
|
We're designing an application with a popup widget that displays in a docked panel versus on the map. To make the user experience more friendly, I'm looking for an alternative name other than "Popup". In ArcGIS Pro, it would be called "Explore". I came up with "Inspect" as well. In our app, there is a clear distinction between selecting features on the map and exploring the features and their related records versus clicking on one feature on the map and viewing its attribute data and its related records. Both are fairly complex and necessary based on the business requirements, but I'm looking for a term that distinguishes the two.
... View more
10-05-2022
01:44 PM
|
0
|
0
|
408
|
|
IDEA
|
Thanks @wayfaringrob. That's what I was trying to say when I said combine, namely have a single folder at the root of the project that contains all of those system folders.
... View more
08-25-2022
09:35 AM
|
0
|
0
|
4352
|
|
IDEA
|
I just noticed that with ArcGIS Pro 3.0, there is yet another system folder in ArcGIS Pro project folders, namely GPMessages. There are the following system folders in my brand new project and I believe there are even more out there once you start using it: .backups GPMessages ImportLog Index My suggestion is to combine all of those folders into a single folder. They're a nuisance when it comes to source control and you have to make exceptions for every new folder that pops up when you use a project and perform an action. I have to put the projects I used for publishing into source control. Also, it's annoying to look into a project folder and half of the items are something I don't care about.
... View more
08-24-2022
08:23 PM
|
64
|
12
|
5046
|
|
IDEA
|
I think the point is that some people experience this issue and others don't. Reproducing it is as simple as opening ArcGIS Pro and switching to another application while it loads, but you have to do it on certain machines. Since we don't know what is different about our machines, we can't provide steps to reproduce the problem on an arbitrary machine.
... View more
06-01-2022
10:16 AM
|
0
|
0
|
1794
|
|
POST
|
From what I can tell, it appears to be the DeleteFeatures tool that creates the extra gdbtables. It may only happen when the table is locked by a service. I reclaimed so much space yesterday by copying the data to new file geodatabases that I cut the file size by 95%. The FGDBs were getting really large during development when I was writing and testing the scripts a lot. Databases that I thought were inherently large were only large from running the scripts hundreds of times during debugging. Another interesting side note is that the scripts run significantly faster now. The run times were cut by 2/3.
... View more
05-11-2022
01:28 PM
|
0
|
0
|
718
|
|
POST
|
After reading the solution, I think it was the case that the one file geodatabase that was not tied to a service used to be in the past. Maybe, DeleteFeatures creates a new empty table and repoints the FGDB to the new file, leaving the old file in place. I was able to run TruncateTable on the locked feature class. I think I tested this a few years ago and it didn't work on 10.6.1.
... View more
05-10-2022
03:55 PM
|
0
|
2
|
730
|
|
POST
|
Thanks for the thread! I also have various publishing scripts that perform the basic concept of a truncate and load. I did some research on the file geodatabases and I found a few things: If I turn on the Size attribute in ArcCatalog, the size of the file geodatabases matches the size of the data in the folder. If I add up the sizes of the objects in the file geodatabase, the sizes are generally significantly lower than the size of the geodatabase. If I run Compact on them, some of the geodatabases shrink significantly and the tables inside also shrink significantly. However, others only shrink a moderate amount, if at all. If I copy the data to a new file geodatabase, I get even better results than Compact. The tables become an appropriate size. I had the issues for scripts with map services locking the data and without. I had the issue on a script that only called DeleteFeatures and loaded new data using an InsertCursor. Therefore, I suspected that the problem is with DeleteFeatures. I looked in the problem file geodatabases and I noticed a lot of similarly sized .gdbtable files separated by a day going back several months. Each run of the script appeared to be creating a new .gdbtable file for each table. I ran DeleteFeatures with Windows Explorer open. The number of files in the problem FGDB would increase by one. When I tried to test this again starting from scratch with a new file geodatabase and a GDB feature class, I could not reproduce it. I ran TruncateTable with Windows Explorer open. The number of files did not change. I would need more time to test, but I believe that DeleteFeatures may be creating a new empty geodatabase table and possibly leaving the old table in the FGDB folder. Those files are building up over time. It doesn't happen consistently, so I am not sure what the cause is. I don't think it is service locking because it happened without a service. It looks like replacing DeleteFeatures with TruncateTable will solve the problem. Of course, I don't have hours and hours to troubleshoot this issue or work with Technical Support to identify the issue, so I might be off. Still, try TruncateTable and look in your FGDBs and let me know if you're seeing similar behavior. I suspect that it might be related to creating the FGDB in an older version of ArcMap and then running it in a newer version of arcpy. I've even seen differences between ArcMap and arcpy for the same tools, so that might be it as well. In addition, antivirus software may be in play here. It has been interfering with python.exe on certain tools.
... View more
05-10-2022
03:32 PM
|
0
|
3
|
2299
|
|
POST
|
I was able to get multiple widget controllers working in a single app. The basic process is as follows: 1. Add the widget controllers to a theme. The first step is to add the widget controller folders to the widgets folder of the theme. Next, add the widget controllers to the widgets section of the manifest.json file of the theme. Lastly, add the widget controllers to the theme layouts. 2. At this point, if you open up the Builder, it will recognize the widget controllers and you can start to configure the widgets they control. All widgets that can be managed by widget controllers are stored in the widget pool in the app config. By default, the Builder adds the Layer List widget and the Legend widget to the widget pool and both controllers display all widgets in the widget pool. If you remove all the widgets from both controllers in the Builder and start adding new ones from scratch, the widgets will just be managed by the specific controller you added them to. Also, the app config will display two new attributes, specifically controlledWidgets and controlledGroups under each controller. These are arrays of widgets and widget groups that each controller manages. If you are working from the Builder, the attributes get populated automatically. To do more advanced configuration, you will eventually end up editing the app config manually. In that case, you just have to add the widgets to be controlled to the widget pool and add the widgets and widget groups to the controlledWidgets and controlledGroups attributes of each widget controller in the app config. Without those attributes, each widget controller will just display all widgets in the pool. 3. If you need to add panels, copy the panels to the panels folder of the theme and add them to the theme's manifest.json file. 4. To specify in which panel each widget is displayed, there are a few options. See config-readme.txt in the app root folder. In general, widgets stored in different parts of the config have their own default panel, which you can override. That's fine if you only have one panel, but if you want to use multiple panels, you have to use widget groups. If you add just one widget to a widget group, it behaves very similarly to a single widget, but the config allows you to specify the panel for the widget group, unlike widgets by themselves. I wanted two controllers, each with their own panel. Therefore, I made widget groups, one for each widget, and specified the panel in which each widget should display. Then, I added the groups to the appropriate controlledGroups attribute of the widget controllers and everything worked. I left the controlledWidgets attribute as an empty array. I hope this helps someone.
... View more
04-19-2022
12:25 PM
|
0
|
0
|
770
|
|
POST
|
Is there a way to directly specify which panel a widget should open in? The only option I have found so far is to put a widget in its own widget group and specify the panel of the widget group. This is a bit contrived.
... View more
04-13-2022
04:51 PM
|
0
|
0
|
426
|
|
POST
|
One resource I found that is helping is the file config-readme.txt in the stemapp folder or any app folder.
... View more
04-13-2022
04:23 PM
|
0
|
0
|
792
|
|
POST
|
Has anyone successfully created a Web AppBuilder app that uses multiple controllers? It appears to be part of the design, but the documentation is extremely thin. It looks like you have to set the attributes controlledGroups and controlledWidgets in the widget controller configs, however, I am not sure what to do with the panels. The widget pool has a panel property, but I have two panels, one for each controller. Do I need to put the widgets for each controller into their own groups with their own panels?
... View more
04-13-2022
11:32 AM
|
0
|
2
|
822
|
|
POST
|
Thanks a lot Eric! @Jianxia, is there are any more documentation for having multiple controller widgets? I am hoping that all I need to do is add the property controlledWidgets to each controller widgets' manifest.json file. Still, I am not too clear about the widget pool. I am trying to merge the SidebarController and the HeaderController into one app. I think I can get each controller to manage different widgets, but I'm not sure where to put the panel references.
... View more
04-12-2022
03:44 PM
|
0
|
0
|
1826
|
|
POST
|
Yes, I am also interested in having multiple widget controllers.
... View more
04-12-2022
10:51 AM
|
1
|
0
|
1580
|
|
POST
|
Yes, I am equally interested in knowing if you can have two controller widgets. I want a header controller widget with a panel on the right and sidebar controller widget with a panel on the left.
... View more
04-12-2022
10:46 AM
|
0
|
0
|
925
|
|
POST
|
I want to be able to change the style of a custom widget that clears all selected features in the map based on whether or not there is a selection similar to how ArcGIS Pro works. If there is no selection, I want it to be grayed out. If there is a selection, I want it to look normal. What are the options available to do that?
... View more
03-24-2022
12:10 PM
|
0
|
0
|
410
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-03-2025 09:47 AM | |
| 1 | 11-06-2025 03:29 PM | |
| 1 | 11-30-2022 09:47 AM | |
| 2 | 03-04-2022 01:16 PM | |
| 1 | 04-10-2024 05:21 PM |
| Online Status |
Offline
|
| Date Last Visited |
12-12-2025
09:06 AM
|