|
POST
|
Robert, This is perfect! Thanks for the code. I've been experimenting with it and it is very easy once you gave me your sample.
... View more
12-13-2015
07:28 AM
|
0
|
0
|
2786
|
|
POST
|
This is very useful. Thanks for the help! I was able to create a widget with a combo box in it and then publish the data. This looks to be the path I needed. Right now, I am hung up on how to retrieve the data from my custom widget's data store. I did not understand the arguments for the onReceiveData method so I tried fetchDataByName on the widget I was using to call the data from and was able to 'see' my data as I stepped through the code, but was not able to 'get' the data. Is there a good example for the onReceiveData or even the fetchDataByName methods? I saw the widget example for the communication between widgets, but was not following it.
... View more
12-11-2015
05:58 PM
|
0
|
2
|
2786
|
|
POST
|
Thanks for the reply. It sounds like I can do what I am looking to do. Can you provide some details on how to open a widget at start? I did take a look at the sample widgets and the life cycle events, but I am not yet clear where to put a combo box within a custom widget. Also, I don't know how to save the selection from the Combo Box to a variable which I can use in other widgets. If you can provide some more details, I would appreciate it. The documentation on custom widgets is very brief. Is there something better out there to show me how to accomplish building a custom widget?
... View more
12-09-2015
04:58 PM
|
0
|
4
|
2786
|
|
POST
|
I would like to have a widget that opens when the WAB loads like the splash widget that would require the user to pick a value from a combo list. I have a list of Fire Stations that I would like to use as an attribute for a FeatureLayer. When the app starts the station number would be set and would be populated in the attribute each time an edit is made. Has anyone done something like this? Please provide any samples on how to create a combo Box in a widget in WAB preferably as a splash type widget . Thanks, Mele
... View more
12-08-2015
04:09 PM
|
0
|
7
|
5618
|
|
POST
|
We are using the Batch Attribute Editor Widget in Web App Builder and have found that some times it takes two clicks of the save button to get the widget to update the attributes. Has anyone experienced this same behavior? If so, did you find a work around for the issue I am having? Thanks, Mele
... View more
12-04-2015
03:55 PM
|
0
|
0
|
3200
|
|
POST
|
I was able to get this working. The issue turned out to be the permissions on the proxy application on our local web server. It was not set to use Anonymous Authentication. Once our web master set the Proxy application to anonymous authentication, we no longer got the error. I also set the AppID for good measure and am using the ArcGIS Online user information in my Web App Builder Application. Thanks for the help and suggestions
... View more
12-01-2015
03:31 PM
|
1
|
0
|
1911
|
|
POST
|
This is the code I pulled together from StackOverFlow links. It writes the date to the SDE feature class in the correct format to view local time in ArcMap. feature.attributes.sfd_edit_date = convertUTCDateToLocalDate(new Date(Date.now())); //added to convert UTC to local Time function convertUTCDateToLocalDate(date) { var newDate = new Date(date.getTime()+date.getTimezoneOffset()*60*1000); var offset = date.getTimezoneOffset() / 60; var hours = date.getHours(); newDate.setHours(hours - offset); newDate = newDate.getTime(); return newDate; };
... View more
12-01-2015
03:21 PM
|
2
|
1
|
28259
|
|
POST
|
Thanks Steve the quick reply. I was not able to open the links you sent.
... View more
11-30-2015
04:39 PM
|
0
|
1
|
28259
|
|
POST
|
I am writing the current date and time to an attribute in an SDE feature class that is being accessed via a FeatureServer when an edit occurs with the following: feature.attributes.sfd_edit_date = Date.now(); It works great, except the time is in UTC and not local when I view it in ArcMap. I understand that Date.now() gets me the current date in milliseconds, but how can I get the time to be the current local time and not the UTC time? Thanks. Mele
... View more
11-30-2015
04:02 PM
|
0
|
5
|
63233
|
|
POST
|
We are using Web App Builder. The web map is in AGOL and on my local machine when I open the app it prompts me for a user name and password to access AGOL. I have a proxy set up on my local machine with our organization AGOL URL in it. When we moved the WAB to another server, we no longer get prompted with a login but instead get a 403 error in Fiddler which states that the user does not have access to the resource on AGOL. Is there a setting I need to configure on the web server to get the proxy to work the same as it does on my machine? I am not concerned about the login requirement as I plan to capture that information when the user starts a session, but am confused as to why I can't even get the login on the server that I get on my local machine. Is there a permissions setting on the proxy? I noticed that on my machine the proxy application is set to anonymous, but as I do not have direct access to the web server I am not sure of its setting. Thanks for any assistance in solving this issue Mele
... View more
11-26-2015
07:22 AM
|
0
|
4
|
4943
|
|
POST
|
Chris, Sorry for the delayed response. I did not see your post. Hopefully you found a solution. If not, I believe what we ended up doing was to make sure that the Export Web Map Task had the annotation sublayers as part of its layer list as well as the parent annotation layers. I can take a look at this when I am back in the office on Monday if you still need some help. Mele
... View more
11-26-2015
07:13 AM
|
0
|
0
|
1323
|
|
POST
|
How can you change the features shown in the template in the template picker? I would like to use a template from the map service that does not have all the features available for adding to the map. We are using six symbols in the layers symbology but I would like to have only one of them show up in the template picker when starting the Editor. I would like the user to be able to add only one type of feature. In my application it would be where a fire hydrant is missing in the field. I am using Web App Builder but it appears it is using the JavaScript Template Picker and Editor Widget so I thought I would ask this to JavaScript developers as well. Is this possible? Thanks for any suggestions on how to show only one type in the Template Picker. Mele
... View more
11-23-2015
05:03 PM
|
0
|
0
|
3472
|
|
POST
|
I am using the Edit Widget and the Batch Attribute Editor widget to edit our Feature Layer. I would like to be able to modify two attributes when the Edit is Complete with these widgets. I would like to update a date field and a user field. I know this can be done via the Editor Tracking Fields, but the layer is edited in ArcMap and I only want to update the attributes when an edit occurs via WAB. Is there a place in WAB where I can put some custom code to set these attributes when an edit is compete? Thanks, Mele
... View more
11-16-2015
09:20 AM
|
0
|
9
|
7675
|
|
POST
|
When our WAB application loads it is asking for an AGOL login. Is there a way to capture this? I would like to use the login information to populate an editor tracking field. Any thoughts on how to accomplish this? Thanks Mele
... View more
10-30-2015
04:38 PM
|
0
|
1
|
2940
|
|
POST
|
How can you change the features shown in the template in the Editor Widget? I would like to use a template from the map service that does not have all the features available for adding to the map. Is this possible? Thanks for any suggestions.
... View more
10-30-2015
04:31 PM
|
0
|
0
|
2275
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-27-2026 09:23 AM | |
| 1 | 02-26-2026 06:47 AM | |
| 3 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|