|
POST
|
Yes, Robert, that is what I was looking to do. Add some text dynamically to the Header Controller Widget below. I would like to add something at the end of 'Hydrant Maintenance Program'. It looks like this is the Title which is set in the config.json file.
... View more
12-24-2015
08:11 AM
|
0
|
5
|
1934
|
|
POST
|
Junshan Liu, setting the timeout worked to get the panel to open. It was an onscreen widget so that helped a lot! Thanks. Robert Scheitlin, GISP, I may end up using your solution as well, but for now it is working. You are both correct so I appreciate your help in solving my problem! Can I mark both of your answers as correct?
... View more
12-24-2015
08:00 AM
|
0
|
1
|
2048
|
|
POST
|
The error that I get is fail to close widget SFDShiftPickList. TypeError: Object doesn't support property or method 'setState' Thanks for any assistance.
... View more
12-23-2015
07:51 PM
|
0
|
1
|
2048
|
|
POST
|
I have a custom widget that requires user input I would like to ensure that the user has input data before they close the panel. I have some code that alerts the user if the data has not been input, but I would like the panel to re-open 'forcing' the user to set a value before proceeding. I was using the onClose function to check for the value and then re-open the panel, onClose: function(){ console.log('onClose'); if (!editor) { alert('Must set station/shift'); var pm = PanelManager.getInstance(); pm.openPanel(_34_panel); } } I got an error in console that lead me to believe that the widget had been destroyed by the time it got to my code. Has anyone done something like this? Thanks for any code samples. Mele
... View more
12-23-2015
02:54 PM
|
0
|
9
|
4760
|
|
POST
|
I may not be using the correct term but what I would like to do is to add some text to the title bar or header are in WAB application based on the selection made in another widget. How can I add some text dynamically to the title bar?
... View more
12-19-2015
04:32 PM
|
1
|
7
|
4741
|
|
POST
|
Thanks to Robert and Jian for your assistance. I was able to get this working as I wanted.
... View more
12-14-2015
02:00 PM
|
0
|
0
|
1836
|
|
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
|
1836
|
|
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
|
1836
|
|
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
|
1836
|
|
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
|
4668
|
|
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
|
3041
|
|
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
|
1314
|
|
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
|
25667
|
|
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
|
25667
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-20-2025 05:21 AM | |
| 1 | 03-13-2015 04:39 PM | |
| 1 | 09-18-2025 08:33 AM | |
| 1 | 05-12-2025 03:17 PM | |
| 1 | 08-15-2025 03:36 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|