POST
|
I've seen some documentation on using Python to list the Portal content. It seems that it depends on ArcGIS Pro Python libraries (arcpy.GIS). Are there equivalent option in older versions of ArcPy?
... View more
11-10-2021
06:58 AM
|
0
|
0
|
689
|
POST
|
Thanks Dean. I will try your suggestions. FYI, this is in version 10.5.1. I'm working on getting the servers prepped for an upgrade to 10.8.1.
... View more
11-02-2021
01:31 PM
|
0
|
0
|
715
|
POST
|
I did find a reference to that URL on the GIS Admin site at admin->security->config. There is no Web Adaptor installed on the ArcGIS Server machine. It has two Web Adaptors installed on separate boxes. Can I use the URL to one of these instead of the bad one?
... View more
11-01-2021
02:22 PM
|
0
|
0
|
771
|
POST
|
Hi y'all, I'm trying to use WEBGISDR to export the production Portal content so that I can import it into the UAT environment. The problem I'm facing is that when I run WEBGISDR, I get an error message stating: SEVERE: The server https://engineering.XXXXX.com/arcserver is not started. The startup timed out. Looking at the Portal Admin page, I found that the ArcGIS Server that the Portal is Federated with previously had a Web Adaptor named "arcserver" installed on it. Is there a way to update the URL property to use the proper web adaptor without unfederating the ArcGIS Server? I've tried to use the "Update" command but that doesn't provide an option to change those settings? Is there something I can do on the ArcGIS Server Admin page? The other problem I've found is that there are many Portal Layers referencing that old URL. I have been updating those in Portal as I find them. I point this out because it could be that the URL property is bad or that WEBGISDR is validating those layers. Thank you for your help, Craig
... View more
11-01-2021
01:25 PM
|
0
|
5
|
806
|
POST
|
While troubleshooting an issue with the Portal's SSL certificates being invalid, I inadvertently deleted the out of the box SAMLCERT Self-Signed SSL Certificate found under Portal Admin -> Security -> SSLCertificates. I clicked on the SSL Certificate and clicked delete. I've been searching for documentation for information/instructions on how to regenerate that certificate without success. Does anyone know if there are any scripts or utilities that I can use to recreate this? I'm not sure if its causing any problems but would like to restore it to how it was possibly. Thanks, Craig Patterson
... View more
08-05-2021
10:46 AM
|
1
|
1
|
873
|
POST
|
Jonah, Thank yo for your response. In my original post, I should have stated that I cannot find those maps listed in my Catalog Pane. They are not listed under Maps or any other folders associated with the project as best as I can tell. Thanks, Craig
... View more
09-30-2020
07:47 AM
|
0
|
1
|
1275
|
POST
|
I'm trying to share an ArcGIS Pro project by exporting it to project package using the New Project Package -> save project as file tool from the Share Tab. When I do this I get several errors saying MapControlMapXX does not have any layers. I can click on the Options button for each and open in the Contents Pane. These are all blank maps. I do not know how they were created and I cannot figure out how to delete them. I don't see them listed in my project folder in File Explorer. How do I get rid of them so I can create my Project Package?
... View more
09-30-2020
07:23 AM
|
0
|
5
|
1316
|
POST
|
Did you ever find a solution to your problem? I trying to export or copy a feature linked annotation layer from SDE to a File GDB and it's crashing on me. This same annotation layer gave me issues when converting some data using Data Interoperability. It seems very similar
... View more
11-01-2018
01:17 PM
|
0
|
0
|
416
|
POST
|
Hi Robert, Thanks so much for replying. I actually had tried your proposed solution previously without luck. I did find a solution though. I found this old thread and based my solution on it, InfoWindow formatting I also used code from this site, Epoch Date Conversion - JSFiddle. In case anyone else runs into a similar issue, here's what I did. var docInfoTemplate = new InfoTemplate();
docInfoTemplate.setTitle(generateInfoTitle);
docInfoTemplate.setContent(generateInfoContent);
//creates string for info tag
function generateInfoContent(graphic){
var formatString = "<b>Bar Code:</b>" + graphic.attributes.BARCODE
+ "<br/><b>File Number</b>: " + graphic.attributes.FILENUMBER
+ "<br/><b>Date: </b>" + formatDateInfoWindow(graphic.attributes.PRINT_DATE)
+ "<br/><b>System</b>: " + graphic.attributes.SYSREF;
return formatString;
}
function generateInfoTitle(graphic){
var formatString = "<b>File Number</b>: " + graphic.attributes.FILENUMBER;
function formatDateInfoWindow(value){
formattedValue = "";
if(value){
var dateVal = "/Date("+ value + ")/";
var date = new Date(parseFloat(dateVal.substr(6)));
formattedValue = date.getMonth() + "/" + date.getDate() + "/" + date.getFullYear();
}
return formattedValue;
}
return formatString;
} Craig
... View more
07-28-2016
12:17 PM
|
0
|
1
|
715
|
POST
|
I have a GraphicLayer that I build using a QueryTask. One of the attributes is a date field. When the InfoWindow for this layer is rendered, it displays the date in Epoch or Unix format, IE, -297512519. I've tried various solutions for formatting the date in the InfoTemplate. Here are a couple of them: ${PRINT_DATE:DateFormat(selector:'date')} ${PRINT_DATE:DateFormat(datePattern:'MM/dd/yyyy.', selector:'date')} With a custom function. This works in formatting my DataGrid. I've tried to embed this inline into the InfoTemplate ${PRINT_DATE:formatDate} function formatDate(datum){ if (datum){ var d = new Date(datum); return dojo.date.format(d, { selector:'date', datePattern: 'MM/dd/yyyy' } } return; } Any suggestions? Thanks, Craig
... View more
07-28-2016
07:00 AM
|
0
|
3
|
2107
|
POST
|
I've created a FeatureLayer with it's Mode = MODE_SELECTION. I've created a FeatureTable and set it's featureLayer to this layer. I use a QueryTask to select the features I want. Unfortunately, when the web page loads, the FeatureTable loads all the the feature class' features even though the FeatureLayer has no selected features. I don't see any settings for the FeatureTable to have it only show the selected records. Is this a bug or am I overlooking something? Thanks, Craig
... View more
04-21-2016
05:57 PM
|
0
|
1
|
5089
|
POST
|
Thanks for the advice. I ended up setting up the feature layers selection symbol outside of the setup method and got it working. But I'll keep your suggestion in mind for future reference.
... View more
04-18-2016
05:34 PM
|
0
|
0
|
601
|
POST
|
Update number 2. I've isolated the problem. If I have any code in my callback on the map's load event, the last layer doesn't finish loading. Here's how I create my map. map = new Map("map",{ //basemap: "dark-gray", extent: new Extent({ "xmin": 12772352.907166796, "xmax": 12775795.524319759, "ymin": 536599.993017194, "ymax": 538666.659683864, "spatialReference": {"wkid": 2253 } }) }); map.addLayers([waterLayer,basemapLayer, documentPolygonsFeatureLayer ]); map.on("load", setup); function setup () { //define a selection symbol for the feature layer var selectionSFS = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_DASHDOT, new EsriColor([255,0,0]), 2),new EsriColor([255,255,0,0.25])); documentPolygonsFeatureLayer.setSelectionSymbol(selectionSFS); } How can I execute my callback method without causing this issue?
... View more
04-15-2016
10:22 AM
|
0
|
2
|
601
|
POST
|
I haven't solved the issue, but here's a little more information. For my map, I add the layers using the addLayers method. map.addLayers([waterLayer, documentPolygonsFeatureLayer, basemapLayer ]); I also am using the LayerList dijit. When I open the layer list, whatever layer I have listed first is grayed out in the LayerList. As soon as I zoom in or out, the layer becomes active.
... View more
04-14-2016
12:16 PM
|
0
|
0
|
601
|
POST
|
I'm writing a stand alone ArcGIS Javascript API application that's behaving strangely when it initially loads. It contains three map services but when it starts, only two of them load. Another symptom is that the default mouse behavior isn't working either. If I click and hold down the left mouse button, the Hand icon appears and I can pan the map as expected. However, if I hold down the shift key and the left mouse and draw a rectangle, the default graphic doesn't render (showing the rectangle I've drug) nor does the map zoom in to the new extent. I have added a Draw Object, defined the renderer, but that doesn't work either when I activate the Draw Object. However, when I click the Zoom In button, (the + in the top left corner), the map zooms in, the missing layer is drawn, and the mouse graphics start working. Has anyone seen this behavior before? If so, any suggestions on where to start on debugging it? I'm not seeing any error messages in the web browser console, it it doesn't seem to matter if I change the map service. It acts the same. Thanks for any help! Craig
... View more
04-14-2016
11:59 AM
|
0
|
4
|
2668
|
Title | Kudos | Posted |
---|---|---|
1 | 08-05-2021 10:46 AM |
Online Status |
Offline
|
Date Last Visited |
Friday
|