|
POST
|
Hi Bernie, We use a hybrid approach of arcgis server and arcgis online. We only have a dev/test server and a production server but do use arcgis online goups to segregate content. People in our "-gistest" groups access data and applications published on our dev/test arcgis server and web maps using these services. People in our"-gis" groups see only data and maps that are published to the production server. For each group we have in arcgis online there is a "-gistest" and "-gis" version of the group. Out of curiosity do you cluster your servers so that when they aren't testing or developing they can help out with production capacity? Brandon
... View more
08-12-2015
01:03 PM
|
2
|
2
|
3317
|
|
POST
|
Hi Previn, I'm able to reach the services directory but once I choose a service it produces the same "Loading..." issue where it just spins. Brandon
... View more
08-12-2015
12:47 PM
|
0
|
2
|
768
|
|
POST
|
I did as you suggested and put the customGP folder in client/sitemapp/widgets and I do see it when I open WAB. However when I use the wizard to configure it spins after entering my gp service url I'm having trouble understanding, among other things, how the autoexecuting geoprocessing widget knows which widget folder to use if you don't tell it. And my thinking was that you did specify it by changing the uri path in the config.json folder. Thanks, Brandon
... View more
08-12-2015
11:20 AM
|
0
|
4
|
2471
|
|
POST
|
Hi Previn, You're video looks great and thank you for all the help. I'm sorry to be so dense but it still isn't auto-executing for me. I'll review my steps. 1. I copied the geoprocessing widget from my widgets folder and renamed it Geoprocessing_autoexec 2. I modified "name" in the manifest.json file in the new "Geoprocessing_autoexec" widget to be "Geoprocessing_autoexec" 3. I modified _widgetLabel in the string.js file in Geoprocessing_autoexec\nls to be "Geoprocessing_autoexec" 4. I modified the "uri" for the widget in the config.json folder to "widgets/Geoprocessing_autoexec/Widget". (This was not a step you had mentioned but seemed like the right thing to do). 5. I copied your code and pasted it over my startup: function() in the Widget.js of the Geoprocessing_autoexec widget I haven't modified anything in the Widget.html file; should I have? Thanks, Brandon
... View more
08-12-2015
07:09 AM
|
0
|
6
|
2472
|
|
POST
|
Hi Previn, I don't think I'm doing something right. When I use your code for the startup function I still need to interact with the input dialog. It also seems to change the input dialog for all my geoprocessing widgets; some of which do require some user input parameters. Ideally I would like the user to click the widget and then a few seconds later receive a message box or some other visual cue that the process has completed (please forgive my terrible mark-up). Thanks, Brandon
... View more
08-11-2015
12:30 PM
|
0
|
8
|
2472
|
|
POST
|
Hi Previn, We are running WAB developer edition. I haven't worked with event states before; do you have an example you might be able to walk me through or point me to to accomplish the process you describe? Thanks, Brandon
... View more
08-11-2015
11:13 AM
|
0
|
10
|
2472
|
|
POST
|
Hi Donald, You are correct that I would like to do it via code. We do use the arcgis online web map as the base to our web appbuilder application but it (the map) doesn't seem to respect the field formatting I set in the service. And changing all the fields for each web map it gets used in is frustrating. Have you seen this behavior of the service formatting not transferring to web map or is it unique to us? Thanks, Brandon
... View more
08-11-2015
11:09 AM
|
0
|
8
|
4067
|
|
POST
|
Replying to bring this back up in the feeds. I am still in need of help on this topic. Any thoughts would be appreciated. Brandon
... View more
08-11-2015
07:11 AM
|
0
|
12
|
2472
|
|
POST
|
Hi all, I'm attempting to fix a number formatting issue in the edit pop-up in a web appbuilder application. I would like the numbers to display without the thousand seperator but I'm not able to make changes appear when I edit the config_Edit.json file. Is it being over-ridden by something else in the code? Any ideas would be helpful. { "fieldName": "ACCOUNTNUMBER",
"label": "Account Number",
"format":{
"places": 2,
"digitSeparator": false
},
"isEditable": true
}, Thanks, Brandon
... View more
08-11-2015
07:08 AM
|
0
|
10
|
9372
|
|
POST
|
Hi Smitty, Unfortunately we never figured it out. If you find a solution I would still be interested for future projects. Thanks, Brandon
... View more
07-31-2015
02:01 PM
|
0
|
1
|
2355
|
|
POST
|
HI Robert, Sorry for the silly question. I actually did implement this fix for my geocoder just like you said but then the question came up for pop-ups in a meeting today and I got excited, and confused it seems, and posted to the wrong thread. Thanks for the help and sorry for the trouble. Brandon
... View more
07-29-2015
02:22 PM
|
0
|
0
|
910
|
|
POST
|
Hi Robert, It's been a while on this topic and I'm finally getting to trying it. But I'm having trouble finding where I put the code. Thanks, Brandon
... View more
07-29-2015
12:52 PM
|
0
|
2
|
910
|
|
POST
|
I have a geoprocessing service that executes a reconcile and then a post of a version inside a web appbuilder application running on our ArcGIS Server. There isn't an input but the user still has to click the "Execute" button in the geoprocessing widget. Is there a way for them to click on the widget and have it fire the geoprocessing service? And if that first part is possible is it also possible to display a message box when the process completes? Any thoughts are appreciated. Thanks, Brandon
... View more
07-27-2015
02:15 PM
|
0
|
13
|
6663
|
|
POST
|
Hi Shawn, Funny you should ask; I happened upon this discussion again this morning. Here is an example of the jquery that was used along with the explanation. As I mentioned before I can’t take credit for the solution, but it helps to work with talented people. $( " {their text} " ).prependTo( "{id of input label}" ); .prependTo places the new header before whatever ID they indicate in the above code. .appendTo does the same thing, but places the new header AFTER the indicated ID. Please let me know if this makes sense or if you need more information. Best, Brandon
... View more
07-16-2015
02:20 PM
|
1
|
0
|
1491
|
|
POST
|
Hi Larry, I switched it to synchronous and the issue seems to be resolved. I'm including my code for those interested. import arcpy
from configuration import Configuration
from v10_2 import ROOT_PATH
versionlist = []
path = ROOT_PATH
name = "DERP_Editing"
#
databaseconnection = path + "\\" + name + '.sde'
arcpy.SetParameterAsText(0, "Reconciling and Posting Edits")
if arcpy.Exists(path + "\\" + name + '.sde'):
arcpy.SetParameterAsText(1, "DERP_Editing Version Exists" )
else:
connection_info = Configuration()
if connection_info.credentials_are_valid() == False:
raise Exception()
arcpy.CreateDatabaseConnection_management(path, name, 'ORACLE',
connection_info.instance01, 'DATABASE_AUTH',
connection_info.useridsde, connection_info.passwordsde,
'SAVE_USERNAME')
for version in arcpy.ListVersions(databaseconnection):
versionlist.append(version)
print versionlist
if "SDE.DERP_Editing" in versionlist:
arcpy.ReconcileVersions_management(databaseconnection,
"ALL_VERSIONS",
"SDE.webCommon",
"SDE.DERP_Editing",
"LOCK_ACQUIRED",
"NO_ABORT",
"BY_OBJECT",
"FAVOR_EDIT_VERSION",
"POST",
"KEEP_VERSION")
arcpy.ReconcileVersions_management(databaseconnection,
"ALL_VERSIONS",
"SDE.DEFAULT",
"SDE.webCommon",
"LOCK_ACQUIRED",
"NO_ABORT",
"BY_OBJECT",
"FAVOR_EDIT_VERSION",
"POST",
"KEEP_VERSION")
print 'Reconciling Complete'
arcpy.SetParameterAsText(2, "Reconcile and Post Completed Successfully. Edits are saved" )
else:
#Create webCommon version off DEFAULT
inWorkspace = databaseconnection
parentVersion = "SDE.DEFAULT"
versionName = "webCommon"
#Execute CreateVersion
arcpy.CreateVersion_management(inWorkspace, parentVersion, versionName, "PUBLIC")
print "Created webCommon"
inWorkspace = databaseconnection
parentVersion = "SDE.webCommon"
versionName = "DERP_Editing"
#Execute CreateVersion
arcpy.CreateVersion_management(inWorkspace, parentVersion, versionName, "PUBLIC")
print "Created DERP_Editing"
... View more
07-15-2015
01:07 PM
|
1
|
0
|
1425
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 12-08-2016 01:34 PM | |
| 1 | 07-15-2015 01:07 PM | |
| 1 | 10-23-2014 08:28 AM | |
| 1 | 09-18-2015 07:06 AM | |
| 1 | 02-17-2015 06:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:24 AM
|