|
POST
|
Hi All - I'm trying to set up a SQL Agent job step (pics below, SQL 2016) that runs a .py geoprocessing script built using Pro (3.6.5) on our test server. So far, the job step only works IF I specify my Windows AD account as the SQL Agent Service Logon. However, our group needs to run these using a common AD account OR by using the combination of a Local System Account (as Logon) and SQL Agent Proxies...I have tried running this scenario with Pro set as Single Use, Named User, Authorized for Offline Use, Signing In Automatically, etc. ArcGIS Pro (2.2.1) was admin-installed for all users on the server and the script (.py) runs successfully when called in Task Scheduler, IDLE, other environments etc. My guess is that the job step fails on "import arcpy" because I'm getting successful print messages from the script before that line occurs. Any assistance or suggestions appreciated! -Nick Job History Error: "...import arcpy File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 72, in <module> from arcpy.geoprocessing import gp File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in <module> from ._base import * File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in <module> import arcgisscripting RuntimeError: Not signed into Portal. Process Exit Code 1. The step failed...."
... View more
08-02-2018
09:33 AM
|
1
|
4
|
2112
|
|
POST
|
I had the same question Joey as our shop is Collector-tracked. Our solution (for now) has been a geoprocessing script running in the background against current Geoid data (spatial join + uniqueid-join + field calcs basically) . I found this thread helpful for importing the Geoid data into an ESRI format (Import NGS Geoid Model to ArcGIS GRID). Our current process isn't instantaneous and we're considering different time intervals (cost/benefit), but after testing against NGS monuments we decided to run with it for the time being. HTH -Nick
... View more
10-20-2017
11:05 AM
|
0
|
0
|
1507
|
|
DOC
|
Bulls Eye Patrick. Thank you so much.....I referred to this help article after getting your tip : Acquiring ArcGIS tokens—Documentation (10.3 and 10.3.1) | ArcGIS for Server. I've edited our copies and have them working now...I am getting a taller ObjectID count in my script output messaging than I expected? (looking into it). But the attributes & geometry appear to be coming over faithfully. Thanks again! -Nick
... View more
07-25-2017
01:01 PM
|
0
|
0
|
10778
|
|
DOC
|
Hi All - We're able to export features from a secure AGS FS in ArcMap (10.3.1) and ArcGIS Pro (2.0.0) - But only from the map (Contents, Layer right-click, Data, Export Features),..We haven't been able to get either version of the tool to download from the secure service....Either version works as soon as we turn off the AGS security. The credentials are working in both desktop apps, no errors so far (can provide them if you have time to test)......Before I dig further, any ideas?... Thanks -Nick
... View more
07-21-2017
09:12 AM
|
0
|
0
|
10778
|
|
POST
|
Thanks for explaining... I was beginning to look into this after seeing the 5th bullet on the "What's new" page. May need to be reworded as "The Layer List widget now supports showing or hiding feature layer labels", or similar (?). What's new in version 2.4—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers
... View more
04-05-2017
12:03 PM
|
0
|
0
|
927
|
|
DOC
|
Hi Louis - If it helps I started testing a bare-bones method below (ArcGIS Pro 1.4) to download simple AGS FS records. I was anxious to see the process work with Pro/Python 3.4 because this is how we update many of our regional base layers from partnering agencies. As our test case was simple, the code below accounts for none of the error checking, case types, or number-of-records-handling that Jake's tool provides (which we use in production). *Note: Even when the source AGS services' max record count is set above 1k I found that the process can bomb depending upon the combination of number of features, number of fields, etc. In my case the largest number of features I downloaded in one go was 10k parcels. Its likely that you'll have to account for a > 1k record set somehow (Jakes' tool accounts for this). But in one test I simply split the records: One url for the 1st half, One url for the 2nd half of the records...merged after. I tried it on the service below and it appears to work. Click supported operations:'query' at bottom of page to ui-build json query (url). https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Landscape_Trees/FeatureServer/0 In Pro python window (below): localfc = r'C:\LocalFolder\Local.gdb\wwctrees' url = 'Insert your resulting url from json format Query (GET) here' fs = arcpy.FeatureSet() fs.load(url) arcpy.CopyFeatures_management(fs, localfc) HTH -Nick
... View more
03-17-2017
08:38 AM
|
0
|
0
|
9637
|
|
POST
|
I may be having the same issue with the District widget (?), WAB DE 2.3. The default/startup 'All' placeholder text specified in my search source settings UI config doesn't seem to stick...After a couple of attempts I'm still looking through the the code to find where I can change this. Placeholder text for my custom geocoders are fine and if you use the cursor to specify 'All' it will show the text specified in the UI, just not at startup/by default.
... View more
03-15-2017
07:17 AM
|
0
|
0
|
621
|
|
POST
|
Awesome thanks Kelly - This was a real time saver, works with our locally hosted apps created from WAB 2.2. -Nick
... View more
03-09-2017
10:31 AM
|
0
|
0
|
1661
|
|
POST
|
03-07-2017
11:27 AM
|
0
|
0
|
3881
|
|
POST
|
Hi Shuhong - I'm not sure why you haven't received a suggestion on this to date.......In the enterprise settings that I have worked in we have typically avoided using spatial views for direct consumption in client apps (indexing or not), including desktop, Portal/AGOL etc. I might suggest setting up an automated/scheduled script that repetitively converts your spatial view into a read-only-purposed feature class which can then be consumed in your client app(s). Currently we use arcpy.FeatureClassToFeatureClass_conversion (available in Toolbox) for this purpose, but the script also includes some error checking steps, db connections etc. You may have some circumstances that require another process or another process may be more appropriate, I don't know......But what I'm suggesting is pretty common I think (and might help depending upon your needs). Especially if for example a 24-hour data refresh rate is all that is needed for your organization, you could schedule the script to run overnight while users are disconnected... HTH -Nick
... View more
03-07-2017
09:33 AM
|
0
|
1
|
1203
|
|
POST
|
Ok that has it, thanks....I set the position in the style.css.....Unless there is a way to do this directly in the widget.html (?)........I created the new div (below) in the Select Widget's widget.html..... <div class="nickscontent"</div>
<div>
<br>
<br>
<p style="text-align: left; font-weight: bold">
<p> Nick's Custom Content </p>
</div> Then added the lines (below) to the Select Widget's style.css div.nickscontent {
position: absolute;
bottom: 0px;
} Thanks so much for your help! -Nick
... View more
11-11-2016
11:40 AM
|
0
|
2
|
1380
|
|
POST
|
Thanks for the tip Robert - I did start playing around with the absolute top/bottom positions for .jimu-viewstack, jimu-viewstack .view, and .jimu-widget-select .layer-nodes. The change that worked best for making space at the bottom of the panel for me is below...Though I'm not sure if this is the right method...Visually it achieves how I want the panel to look.....But I am still unable to add a division (more content) in the widget.html that will insert somewhere in that 90x space..Not understanding what drives the order of appearance on the panel...If I could determine how to create an insertion point below the layer list (in the 90px space), I'd be in business.... .jimu-widget-select .layer-nodes { position: absolute; top: 65px; bottom: 90px; width: 100%; overflow: auto; -Nick
... View more
11-11-2016
09:07 AM
|
0
|
4
|
1380
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 02-24-2021 05:15 AM | |
| 1 | 05-13-2021 08:52 AM | |
| 2 | 01-14-2021 06:35 AM | |
| 1 | 06-21-2021 01:30 PM | |
| 1 | 05-12-2021 09:39 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-24-2025
07:40 AM
|