|
POST
|
I am running a GP script tool where a required input is set up as a RecordSet for the user to type multiple string values that will be used by the tool for further analysis. However, when I publish my tool as GP service and consume it within Web AppBuilder 2.3, the input RecordSet becomes a JSON set of fields: {"displayFieldName":"","fields":[{"name":"OBJECTID","type":"esriFieldTypeOID","alias":"OBJECTID"},{"name":"Name","type":"esriFieldTypeString","alias":"Name","length":50}],"features":[],"exceededTransferLimit":false} What I would like, instead, is an input parameter where the user can interactively type multiple string values that will be passed to the task. How can I accomplish this? Should I not use RecordSet?
... View more
02-20-2017
07:13 AM
|
0
|
0
|
1385
|
|
POST
|
Ok, Thanks anyway! If you know of anyone on GeoNet that is particularly expert of GP tool and services please let me know. I posted a general question on the forum as well, so let's see if anyone can help me with my questions.
... View more
02-17-2017
02:51 PM
|
0
|
0
|
1268
|
|
POST
|
Robert, Is there a chance to message/email you some specific questions related to GP services and GP widgets in Web AppBuilder (or in general JavaScript API)? I am having troubles finding correct answers to my problem even via ESRI customer service. Let me know if that would be possible...thanks!
... View more
02-17-2017
12:58 PM
|
0
|
2
|
1268
|
|
POST
|
rscheitlin Based on your experience with widget customization, do you have any pointers and tips for me to get started on this task, i.e. adding multiple tasks to the same widget using a framework very similar to the "Perform Analysis" widget by ESRI? I know one can add many tasks to one GP service when publishing but I am trying to design something a little bit more organized with images etc. where the user can see a list of steps to undertake when running my custom widget with nested tasks. I hope I explained myself...Thanks!!
... View more
02-13-2017
10:04 AM
|
0
|
4
|
1268
|
|
POST
|
Thank you Robert! I guess I was thrown off by the fact that my 3 widgets all have "placeholderIndex": 1 but everything still works, while if I add a new placeholder it has to have a different index (e.g. 2,3, etc) or it will throw an error...
... View more
01-27-2017
01:06 PM
|
0
|
0
|
3294
|
|
POST
|
Robert Scheitlin, GISP, The chunk of code above you suggest to add in the config.json file, is that after you download and unzip the app folders locally, or is that inside the \server\apps\<app id> folder? I am asking because for me after adding that code chunk and refresh the app editor launched with WAB, it throws an error. I have the 3 off-panel widgets below and am trying to add your chunk to this list to create 2-3 more slots to be filled in the WAB editor: { "position": { "right": 100, "top": 20, "relativeTo": "map" }, "placeholderIndex": 1, "id": "_29", "name": "Swipe", "version": "2.3", "uri": "widgets/Swipe/Widget", "config": "configs/Swipe/config_Swipe.json", "openAtStart": false, "closeable": true }, { "position": { "right": 150, "top": 20, "relativeTo": "map" }, "placeholderIndex": 1, "id": "_30", "name": "BasemapGallery", "version": "2.3", "uri": "widgets/BasemapGallery/Widget", "config": "configs/BasemapGallery/config_BasemapGallery.json" }, { "position": { "right": 200, "top": 20, "relativeTo": "map" }, "placeholderIndex": 1, "id": "_31", "name": "About", "version": "2.3", "uri": "widgets/About/Widget", "config": "configs/About/config_About.json" },
... View more
01-27-2017
12:47 PM
|
0
|
2
|
3294
|
|
POST
|
I am using the Launchpad theme which comes with 3 default slots plus one assigned to the attribute table floating widget. Maybe it's just this theme. Just saw your pointer to the discussion on how to edit the config.json to add more though. Thank you for the hint!! Would the new SDK automatically upgrade my existing app to change its existing features and theme upgrades?
... View more
01-27-2017
07:29 AM
|
0
|
1
|
1407
|
|
POST
|
Robert, It seems like I am using v2.2...I just noticed 2.3 came out this month. Is that what you were suggesting using instead? If I install that, does my existing app have an option to automatically update to include these new features? Thank you for your help!!
... View more
01-27-2017
07:21 AM
|
0
|
3
|
1407
|
|
POST
|
Can anyone help me understand how (if it's possible) to customize/extend Web AppBuilder to have more than 3 default off panel widgets? I am interested in having at least 5-6 widgets outside of the controller panel but am not sure how to accomplish that. Any help will be much appreciated. Thank you!
... View more
01-27-2017
06:57 AM
|
0
|
5
|
1928
|
|
POST
|
Can anyone send pointers and tips on how to create (if it does not exist a way already) a custom widget, e.g. for use with Web AppBuilder (Developer Edition), that contains a set of nested tasks, similar to how the "Analysis Widget" is set up in AGOL? Basically, how can I create my own version of the "Analysis Widget" that contain my own custom geoprocessing services, instead of the ones offered by AGOL? Thank you!
... View more
01-26-2017
10:27 AM
|
0
|
5
|
1854
|
|
POST
|
Dan_Patterson SWalbridge-esristaff Do you have any insight on why arc.env() fails? Is this a bug?
... View more
10-21-2016
05:33 AM
|
0
|
2
|
1284
|
|
POST
|
Everyone, I am using ArcGIS 10.3.1 and R >= 3.2.0. I noticed a strange behavior both in the sample R tools provided as well as my own custom R tool scripts when using the arc.env() function from the arcgisbindings R package. This function is supposed to retrieve the environment settings of the ArcGIS tool and pass it to R. However, script execution freezes and never completes when adding arc.env() to the script, e.g. to change the default scratch workspace path. Is this a bug? For example, add arc.env() to the semiparam regression tool script to check issue above. # Example: tool_exec <- function(in_para, out_params) { env = arc.env() wkspath <- env$workspace ... return(out_params) } Any ideas why?
... View more
09-23-2016
05:48 AM
|
0
|
3
|
2209
|
|
POST
|
Thank you everyone for your comments and helpful insight!
... View more
07-14-2016
10:08 AM
|
0
|
0
|
1542
|
|
POST
|
@JonathanQuinn, The problem is the 3rd party libraries I am using are only available in 32-bit, unless I recompile them from source into 64 bit. You are saying if I publish my GP tool from my ArcMap on my Desktop PC using these 32-bit libraries, the GP service definitely won't work?
... View more
07-07-2016
05:58 AM
|
0
|
2
|
1542
|
|
POST
|
Assumptions for Desktop environment: Windows 10 64-bit ArcMap 10.3.1 Python 2.7 32-bit (installed by ArcMap) Assumptions for Server environment: Windows Server 2012 64-bit ArcMap 10.3.1 ArcServer 10.3.1 Python 2.7 32-bit (installed by ArcMap) Python 2.7 64-bit (installed by ArcServer) My custom GP tool script is calling a 3rd party set of open source python libraries that have been developed to work within Python 2.7.x 32-bit framework. The GP tool works as expected on my desktop PC. I would like to publish my custom GP tool as a service on my remote server with both ArcGIS for Server 10.3.1 and ArcMap 10.3.1 installed on it. I am well aware that ArcServer demands a 64-bit framework for Python, so my question is: what would be the best way to publish my custom script tool (working on my desktop PC) as a service to be served within a web application (i.e. GP widget) without encountering conflicts and errors? Thank you!
... View more
07-05-2016
01:29 PM
|
0
|
5
|
3996
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 03-01-2017 10:01 AM | |
| 1 | 04-02-2018 11:35 AM | |
| 1 | 08-14-2018 03:48 PM | |
| 1 | 08-09-2017 07:31 AM | |
| 2 | 09-03-2018 04:32 PM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|