POST
|
I'm thinking that a possible option is to write a script that will open the json file in a Web Mapping Application that references the web map. Then write the file name and app name as strings to an excel file. Then, merge all the excel files into one workbook, and one sheet. This would be a master list of the app/map inventory. My question would be: Where in a Web AppBuilder App directory can you find the reference to the web map?
... View more
05-10-2018
08:43 AM
|
0
|
4
|
1893
|
POST
|
The following works with map services. Not so sure it works with Feature Services. https://github.com/cmndrbensisko/LocalLayer https://community.esri.com/thread/119548-locallayerwidget-and-accessifizrwidget https://community.esri.com/blogs/myAlaskaGIS/2015/02/04/tips-for-using-the-custom-locallayer-widget-with-wab-dev-edition https://community.esri.com/thread/167394 https://community.esri.com/thread/183088-does-the-latest-locallayer-20-widget-work-with-wab-21 https://community.esri.com/thread/200368-how-do-i-add-multiple-layers-to-the-layerlist https://community.esri.com/thread/168468 https://community.esri.com/thread/176114 https://community.esri.com/thread/176243 https://community.esri.com/thread/182362-locallayer-issue-labeling-a-point https://community.esri.com/thread/214004-add-mapservice-without-agolmap-itemid
... View more
05-10-2018
08:30 AM
|
0
|
2
|
900
|
BLOG
|
Michael Kelly, I do not understand what you mean in #1. 'You would have ........' Can you please expand?
... View more
05-08-2018
09:46 AM
|
0
|
0
|
9487
|
POST
|
Is there a way to find this out for all Web Mapping Applications (WMAs), rather than going to each individual Web Mapping Application (WMA) to see the web map it consumes? For example, if an organization has 100 WMAs, that assumes 100 web maps, correct? How do I find out what those 100 web maps are without drilling into the WMAs? I'm kind of thinking big picture. Another scenario I have is one in which I would like to delete a web map, but am not sure if it is being used in any WMAs. How would I find this out? I spoke to GeoJobe, and at this time the admin tools do not support this need.
... View more
05-08-2018
08:41 AM
|
0
|
5
|
2295
|
POST
|
The issue was the double back slashes in the xml Workspace Document Path. Once I removed the second back slash, I was able to export to xml. Yet, I was only able to export at the SDE geodatabase level, NOT the feature dataset level. As a workaround so that I could export the xml at the feature dataset level, I right clicked the dataset, and exported the xml workspace document schema only. I then opened this new xml by putting the path to it in the 'xml Workspace Document' space, and then using the x-ray icon 'Open Selected xml workspace document (schema only). I took extra precaution by setting the 'Geodatabase' space in X-Ray to a scratch workspace, so that I would not mess with the SDE database. The difference between using the catalog right-click method to get an xml, and using X-Ray to get an xml, is that using the X-Ray method will create an 'X-Ray' folder where the xml is stored, which contains excel documents that mimic the xml. The right-click method will only generate an xml, and then the user will have to take that extra step using X-Ray to create the 'X-Ray' folder . Another alternative may be to export the SDE database to a location outside of SDE, using the right-click copy, or the distributed geodatabase export wizard tool. Then, generating an xml and 'X-Ray' folder using X-Ray. The disadvantage to doing it this way is that it takes longer.
... View more
04-26-2018
01:50 PM
|
0
|
0
|
800
|
POST
|
I am trying to export a geodatabase to xml workspace, but I get this error: Geodatabase path: C:\Users\acastillo\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog\\OSA@SanitaryGIS-CLUSTER.sde XML Workspace Document Path: C:\Users\acastillo\AppData\Roaming\ESRI\Desktop10.4\ArcCatalog\\OSA@SanitaryGIS-CLUSTER.xml
... View more
04-26-2018
08:10 AM
|
0
|
1
|
1319
|
POST
|
See Creating OSM Features in iD from ArcGIS Services · Issue #4164 · openstreetmap/iD · GitHub
... View more
04-22-2018
08:56 PM
|
0
|
0
|
808
|
POST
|
At my organization, we use geocortex the platform for our web app viewer. In it, we have a field asset inspection app. Once the inspector creates a new feature, the feature is created on the map, and the attributes form appears with some of the attribute fields prepopulated based on other layers in the app. For example, when the user creates a new manhole, the attributes prepopulate with values from another layer, such as the lift station zone polygon the manhole point lies in. I am trying to recreate this workflow with an ESRI product, , like WAB Developer Edition, ArcGIS Collector, or Survey 123. Due to security concerns, I cannot share the website here, nor the zip file that contains the code for the website. I would most likely be able to share details on a one-on-one basis. I can say though that in the code, I notice a 'EditAttributesModule.prototype.OnViewActivatedEvent' variable that might be what makes this work. I have a solid basic understanding of JS, CSS, and HTML, but have not fully connected the dots to be able to implement this using an ESRI product Can someone help me with this?
... View more
04-09-2018
01:05 PM
|
0
|
0
|
710
|
POST
|
Here it is: http://gis.wpb.org/COP_Test/ This test app was configured for three services, including a related table service url. Do related tables work with this query widget?
... View more
03-23-2018
01:34 PM
|
0
|
3
|
1125
|
POST
|
Absolutely, me too! Thank you for your awesome script!
... View more
03-22-2018
08:01 PM
|
1
|
0
|
1219
|
POST
|
I got it to work: import arcpy
import os
#Slightly modified from Geonet thread by Blake Terhune titled 'Delete Unused Domains'
# Set workspace
arcpy.env.workspace = arcpy.GetParameterAsText(0)
# Get domains that are assigned to a field
domains_used = []
for dirpath, dirnames, filenames in arcpy.da.Walk(myGDB, datatype=["FeatureClass", "Table"]):
for filename in filenames:
print "Checking {}".format(os.path.join(dirpath, filename))
try:
## Check for normal field domains
for field in arcpy.ListFields(os.path.join(dirpath, filename)):
if field.domain:
domains_used.append(field.domain)
## Check for domains used in a subtype field
subtypes = arcpy.da.ListSubtypes(os.path.join(dirpath, filename))
for stcode, stdict in subtypes.iteritems():
if stdict["SubtypeField"] != u'':
for field, fieldvals in stdict["FieldValues"].iteritems():
if not fieldvals[1] is None:
domains_used.append(fieldvals[1].name)
except Exception, err:
print "Error:", err
# Get domains that exist in the geodatabase
domains_existing = [dom.name for dom in arcpy.da.ListDomains(myGDB)]
# Find existing domains that are not assigned to a field
domains_unused = set(domains_existing) ^ set(domains_used)
print "{} unused domains in {}".format(len(domains_unused), myGDB)
print domains_unused
print (domains_unused)
arcpy.AddMessage(domains_unused)
... View more
03-22-2018
10:20 AM
|
0
|
5
|
1219
|
POST
|
Based off your original post, how would I modify the script so that it can be converted to a tool, with the input being any user defined sde database, and the output being a message with the 'domains_unused' Here's what I have so far.....it works as a tool, but I do not see the print messages being output under geoprocessing results or some sort of text file message: import arcpy
import os
#Slightly modified from Geonet thread by Blake Terhune titled 'Delete Unused Domains'
# Set workspace
arcpy.env.workspace = arcpy.GetParameterAsText(0)
# Get domains that are assigned to a field
domains_used = []
for dirpath, dirnames, filenames in arcpy.da.Walk(myGDB, datatype=["FeatureClass", "Table"]):
for filename in filenames:
print "Checking {}".format(os.path.join(dirpath, filename))
try:
## Check for normal field domains
for field in arcpy.ListFields(os.path.join(dirpath, filename)):
if field.domain:
domains_used.append(field.domain)
## Check for domains used in a subtype field
subtypes = arcpy.da.ListSubtypes(os.path.join(dirpath, filename))
for stcode, stdict in subtypes.iteritems():
if stdict["SubtypeField"] != u'':
for field, fieldvals in stdict["FieldValues"].iteritems():
if not fieldvals[1] is None:
domains_used.append(fieldvals[1].name)
except Exception, err:
print "Error:", err
# Get domains that exist in the geodatabase
domains_existing = [dom.name for dom in arcpy.da.ListDomains(myGDB)]
# Find existing domains that are not assigned to a field
domains_unused = set(domains_existing) ^ set(domains_used)
print "{} unused domains in {}".format(len(domains_unused), myGDB)
print domains_unused
... View more
03-22-2018
08:29 AM
|
0
|
6
|
1422
|
POST
|
I added the sites mentioned here to my trusted sites list, and it allowed me to login. I got the idea from this thread
... View more
03-19-2018
12:54 PM
|
1
|
0
|
1546
|
BLOG
|
I created my new question: https://community.esri.com/message/758072-web-appbuilder-login-issue-using-internet-explorer-11
... View more
03-19-2018
12:33 PM
|
0
|
0
|
6602
|
POST
|
I troubleshooted with ESRI technical help: The issue was due to a corrupt mxd. I copied all my layers into a new mxd, reconciled and posted, and the errors were no longer there.
... View more
03-19-2018
11:52 AM
|
1
|
0
|
978
|
Title | Kudos | Posted |
---|---|---|
1 | 06-24-2018 05:58 PM | |
1 | 06-10-2024 11:57 AM | |
5 | 04-04-2021 03:39 PM | |
1 | 08-19-2020 02:22 PM | |
1 | 02-18-2020 06:48 PM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|