POST
|
Although not directly from a GDB, if you have access to ArcGIS Online (I assume so if you have ArcGIS Enterprise database), or ArcGIS Portal (Server), you can publish a map service. This will render those layers to be uneditable. From there, you can create a web map and/or web app to view the data. If using ESRI desktop apps, you can also pull the published service layers into your GIS mapping application.
... View more
12-21-2023
12:30 PM
|
0
|
0
|
398
|
POST
|
We are currently testing the Pipeline Tracking & Traceability data model and Arcade popup scripts developed by @TomDeWitte, and have stumbled on barcodes that do not conform to the ASTM F2897-15a 16 characters format. During our testing, we came across a valve whose barcode decoded to a value that exceeded the anticipated 16-character format. Before changing the field width, the OOTB arcade scripts were a simple drap/drop in our Attribute Expression dialog. No other changes were made. Simple changing the field Here's one example of the extracted barcode attribute: 'ELboG04njHV70Z90MW6 DEMO'. To allow the capture of the extended characters, we attempted to create a new longer barcode field, but after doing so, the arcade scripts for the popup failed to save correctly, resulting in this error: 'Execution Error: Field not Found', which is odd since the field does exist, and prior to using a long field was not an issue. I dug in and found by removing the '[text(C1FACTOR)] ' from the second to the last line (Diameter & Wall Thickness scripts): 'var DIAM = DIAMETERDICTIONARY[text(C1FACTOR)];' the script allowed to save and the popup worked (although not sure what if what is being displayed is actually correct. Similarly, the Diameter2 and WallThickness2 scripts has similar issue but removing the '[text(C2FACTOR)]' portion from the following line: var DIAM = DIAMETERDICTIONARY[text(C2FACTOR)]; allow the script to be saved. The C1FACTOR was not a problem if the array was removed from the script entirely. So, I'm a little confused exactly what the C1Factor/C2Factor is actually doing, I'm faced with 2 options: Modify the arcade script to get around the 'Field not Found' error. Find a way to automatically trim the barcode to 16 characters in the Field maps app. We are currently manually removing the extra characters, which allows for the correct extraction of arcade popup values but which I feel is not going to be a reliable option. Also, I would rather retain the full barcode value since it may contain additional information that would otherwise be lost if we don't retain it at time of installation. Would appreciate any help with this, or thought on better alternatives? TL/DR: Discovered barcodes longer than 16 characters. Database fields wider than 16 characters cause the Diameter, Diameter2, Wall Thickness, & Wall Thickness2 arcade script to fail with 'Execution Error:Field not Found' when saving script.
... View more
05-23-2023
06:02 AM
|
0
|
2
|
695
|
POST
|
Not sure if this would work, or if your license is appropriate for the function, but have you tried creating a map package? This should create a single file to ship, and allow receiver to unpack/repoint folders elsewhere.
... View more
05-03-2023
10:42 AM
|
0
|
0
|
799
|
POST
|
I'm not in office right now, but will follow up in morning with my thoughts. For now, what version of Portal and WAB Dev are you using? Did you already create the service in Portal to connect to?
... View more
10-27-2022
02:34 PM
|
0
|
1
|
370
|
IDEA
|
I fail to understand why this was omitted. It seem a simple option to add a "Enable Image Attachements (i.e. toggle the Has Attachments = True" in the service settings) as another option, just below the "Use GlobalID partent keys..." and "Enable sync" options, when publishing the service would be simple enough to implement...or am I missing something.
... View more
08-27-2021
06:19 AM
|
0
|
0
|
557
|
POST
|
My previous example did not include the filters you requested. Try this format, should get you closer to your goal: select mi.date, sm.size, sm.type , case when (mi.pointtype = 'A' AND mi.status = 0) AND (mi.pointtype = 'B' AND mi.Status = 1) AND (mi.pointtype = 'C' AND mi.status = 0) Then 1 when (mi.pointtype = 'A' AND mi.status = 1) AND (mi.pointtype = 'B' AND mi.Status = 1) AND (mi.pointtype = 'C' AND mi.status = 0) Then 0 when (mi.pointtype = 'A' AND mi.status = 0) AND (mi.pointtype = 'B' AND mi.Status = 1) AND (mi.pointtype = 'C' AND mi.status = 1) Then 0 else NULL END , sm.Shape from ParentTable as sm join ChildTable as mi on sm.PK = mi.REL_FK
... View more
05-13-2021
05:41 AM
|
0
|
0
|
1097
|
POST
|
The following assumes you are using an Enterprise Database (SQL, Oracle, or other). I generally work in SQL Server Management Studio to build/test any of my queries, since the OOTB Make Query Layer tool doesn't really have a way to test the query. Also, I'm more familiar with Desktop, but Query Layers will work in Pro as well. But, I'll try to explain: You want start with the relationship class (but can work with any 2 tables really): Line Feature: SewerMains point feature class, fields 'size', 'type', 'shape', objectid Related Point Feature: MainInspections, fields, 'date', 'status', 'shape', rel_objectid Related fields are SewerMains.ObjectID:MainInspections.REL_ObjectID Here's a psuedo query I'd make to mash these up: select mi.date, sm.size, sm.type, mi.status, sm.Shape from SewerMains as sm join MainInspections as mi on sm.ObjectID = mi.REL_ObjectID When you add the above Query Layer to the map, symbolize on the status field, and publish. Also, you can also use the inspection point shape to display the actual 'inspection point' on the map by changing sm.shape to mi.Shape (again symbolize based on the mi.status field in ArcGIS Desktop/ArcGIS Pro. You don't need SMSS to create the query, but it allow you to see if there are any errors in the query before sliding into the map as a QueryLayer. Once you have your query created, just copy/paste into the Make Query Layer tool, and it will show as a single layer in the map where you can symbolize, publish, add to web map, and such.
... View more
05-12-2021
08:54 AM
|
0
|
0
|
1111
|
POST
|
If you're not editing, you might consider creating a Query Layer to mash up the Parent and Child features. You will have added benefit of being able to choose which shape to show on the map (Point or Line), then symbolize based on intended attribute updates.
... View more
05-12-2021
07:46 AM
|
0
|
2
|
1134
|
POST
|
Reviving this thread since it's been a few months. Has anyone found a better solution for this bug? We just upgraded to Enterprise 10.7.1, and are seeing same issue.
... View more
12-03-2020
11:35 AM
|
3
|
0
|
866
|
POST
|
After some lengthy tests, realized the pop-ups are present and working as expected (red in the face for looking in the wrong spot)... However still working thought resolving the selection graphic issue. I narrowed down the issue to Web AppBuilder Developer Edition 2.3 and possible bug when importing these apps into ArcGIS Portal 10.7.1. I'm thinking I'll need to update the the newest version, however... Can anyone confirm if upgrading WAB developer edition will make my current apps break? Can anyone point me to a compability matrix for Web AppBuilder Develper Edition (which version is compatible for which Portal Enterprise version?
... View more
12-02-2020
01:45 PM
|
0
|
0
|
582
|
POST
|
Hi- We just completed an upgrade of our Portal Enterprise from 10.5.1 to 10.7.1 and have 2 issues that have yet to be resolved. I do have each of these logged with ESRI, but while I wait for a response, would like to know if anyone experience these, or have any suggestions (aside from rebuilding out Web Maps and Apps) for me to try. 1. All of our popup definitions/configurations have gone missing for all Web Maps that were published prior to the upgrade. This is seen when reviewing the popup dialog for each layer (in their respective web maps); the "Enable Pop-Ip",and "Configuration Pop-Up" options are not grayed out. When you select these options, the base configuration dialog shows up (not the custom settings or definitions, that were set before the upgrade). Also, when you click on the map, the pop-ups do not work. While this is an issue, what's more puzzling is that the Web Application that use these web maps are showing the pop ups correctly. My concern is if we update one layer's pop-up, it will save and remove all of the other popups in that web map. Hoping someone has a graceful fix for this. Here's example of popup dialog for one layer of our published web map): Below is the unconfigured popup dialog: (web map that uses this popup does not display the popup (kind of expect that). However, below is a web application that consumes the above layer, and the resulting custom popup: Looking to find out where the application stored the pop-up definitions in case I need to replace them, if possible. Better if there is a resolution to fix the pop ups in the web map. 2. When selecting a feature, the first feature shows the selection graphic correctly (overlaps the feature as expected), subsequent features selected shows a "random" selection graphic-feels like something is cached in the selection and displaying incorrectly. Many of the selection graphics are close, but show additional vertices and in some cases are way different in geometry from the selected feature. Green line is the selected feature, cyan line is the selection graphic: Finally, this happened on our development server and p Thanks in advance!
... View more
11-19-2020
05:14 AM
|
0
|
1
|
635
|
POST
|
Goal: I'm trying to create a collector (web map) so our users can collect a point for both the parent point feature, and the child point feature within a single Collector app (web map), while also being able to review the collected related tables from the attributes (pop-up label/View) panel. Attempts: I've tried several approaches: Normal relationship class Reversing the relationship class, which allows me to have a single collection point for the inspections, but no way to also collect the parent feature point. Adding 2 relationship classes (both the normal and the reverse relationship classes to the same tables, but opposite direction) thereby making both 'look' like parents (I was hoping). While the geodatabase allowed me to create the relationship classes without so much as a blip, Collector would not display either layers in the 'Collect a new feature' panel. I finally tried to remove all relationship classes from geodatabase, and add them in ArcMap. I received a warning that this produces an in-memory join, but was still able to publish the feature layer. However, the relationship did not show in Collector. The only way to get both allowing to add points is to remove any relationship classes between both feature classes, which also removes any chance of validating the data from within the application. Is this simply not a viable workflow in Collector? It seems like Collector only displays the pop-up/attribute/relationship class view info for only one single parent feature class. When presented with a double relationship to the same tables in the same feature service, Collector removes both from editing. I don't see why having both relationship classes should be reason to not allow both to be editable while allowing the display of the pop-up details, since the geodatabase allow this. I think I'm slowly realizing the unfortunate answer, but thought I'd ask those who may have found a way to get this to work, before walking away from this. My environment: I'm using ArcSDE 10.2.1, and ArcGIS Server 10.5.1 (on a federated Portal environment). I'm currently using Collector 'Classic' v. 19.0.2. Finally, thanks in advance for any thoughts, recommendations, and suggestions. Ed J
... View more
08-21-2019
01:33 PM
|
0
|
0
|
378
|
POST
|
As far as I've seen, Collector only allows one feature to be edited at a time. Would be nice to do a mass edit, but don't see a way with Collector. You would probably need to look into other apps, or establish some workflow to process through a script? If I'm missing something here that would allow mass edits, I''d like to have someone weigh in on this.
... View more
08-16-2019
06:28 AM
|
0
|
2
|
770
|
IDEA
|
Another use case is to retain the child foreign key name as a place holder to avoid reusing retired asset numbers. This will make it easier to avoid reusing unique IDs for assets that no longer exist without needing to keep another feature class for retired assets. I don't see why this would be too hard to implement.
... View more
08-16-2019
06:23 AM
|
0
|
0
|
461
|
Title | Kudos | Posted |
---|---|---|
3 | 12-03-2020 11:35 AM | |
3 | 07-08-2016 01:44 PM | |
1 | 10-30-2013 11:56 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|