|
POST
|
Thanks Robert. Sounds good. What about the second part of my question? What if you have several widgets that can use the same function. Is there a standard way to handle that. I'd like to avoid redundantly adding that same function to each widget.
... View more
10-08-2018
08:04 AM
|
0
|
1
|
987
|
|
POST
|
Hi, This is a general, best practices question. What is the best approach to sharing configurations between widgets? Let's say I have some configurations that several widgets need to access. Instead of repeating the configurations in each widgets own config.json file, it seems better to place them in a shared or common config.json file. Likewise for utility type functions that could be used by multiple widgets. Is there an approach others have used for this? Thanks
... View more
10-05-2018
01:11 PM
|
0
|
4
|
1088
|
|
POST
|
Yes, exactly. Is there another way to do it? Thanks
... View more
09-25-2018
05:30 PM
|
0
|
0
|
2408
|
|
POST
|
Similar issue for me. Not using collector, but the webmap allows creation of features, with null values for required fields. I am seeing the yellow triangle indicator, but I would expect the 'close' (save) button to be disabled until all req fields are populated. Thanks
... View more
09-24-2018
05:20 PM
|
0
|
2
|
2408
|
|
POST
|
Does anyone know if this is possible for webmaps that consume services published via ArcGIS Server? Meaning the service is not hosted. I have re-ordered the fields in the webmap, but the edit interface in WAB does not respect the order. Thanks
... View more
09-13-2018
03:04 PM
|
1
|
0
|
1107
|
|
POST
|
Thanks Robert. I wasn't sure if the standardized queries setting just applied to query tasks. Seems it applies also to def queries. I'll have to re-write the query since I'd rather not change the arcgis server setting.
... View more
09-11-2018
01:41 PM
|
0
|
0
|
968
|
|
POST
|
Hi, I'd like to apply a def query to a feature layer in my app. I'm running into an issue, I think with the expression I'd like to use. It's a bit complicated in that it uses the IIF sql function (returns one of two values based on if a boolean expression evaluates to true or false). No error, but no results are returned and the same expression returns results in sql (ssms). I'm guessing there are limits on what sql functions one can use, but not finding any documentation of that. Anyone know if it's documented as to what is valid expression? Thanks
... View more
09-10-2018
04:47 PM
|
0
|
2
|
1104
|
|
POST
|
Thanks for the snippet Robert. Just gave it a try and it works as expected. I'm marking this as the answer, but that said, still interested in entirely decoupling editing from the templatepicker module, if possible. For example, I only want the layer in question edited via a feature action, so, I don't even want to show that symbol in the template picker. This approach is great, but I'll need to do some extra customization to ensure that only the desired layers are shown in the picker, when the edit widget is activated. I had anticipated that the templatepicker or editor classes would have a method that accepts a parameter indicating which template to activate editing for. Perhaps a good enhancement for ESRI to consider, as there are cases where the templatepicker interface is problematic or unnecessary. Thanks again Zorba
... View more
08-20-2018
11:58 AM
|
1
|
0
|
1579
|
|
POST
|
Hi, I'm developing an editing app and extending the WAB Edit widget for some custom behavior. I'm programmatically launching the edit widget, but I don't want to make users pick the edit type from the template picker. Rather, I'd like to just allow them to start editing a hard coded feature layer. And I would hide the template picker as well. Struggling so far to figure out how to go about this. I know the edit widget uses the esri editor digit. I'm assuming there is a method that starts editing for that digit, but not finding it, so far... Thanks
... View more
08-15-2018
10:22 AM
|
0
|
5
|
2001
|
|
POST
|
Hi, I'm trying to get intellisense working in VS 2017. I have followed the steps in Rene's video, but no luck so far. -Used npm to install esri jsapi typings (3.25) -Edited tsconfig.json file to include reference to typings.d.ts file -Created typings.d.ts file with references as shown -Confirmed packge.json exists and configured correctly I know the video was for vs code, but assuming this can be configured similarly for VS. Any suggestions. Thanks
... View more
08-13-2018
02:27 PM
|
0
|
0
|
1416
|
|
POST
|
Ok. Yes it does seem handy to have all configs in one spot. I guess my confusion is with this statement - "The config in the widgets folder is just the template that gets copied to the apps config folder" - How does that happen, and how does it get updated? Do I have to manually edit that file? Or set up my grunt task to update that file when I edit the config.json file in source control? Thanks
... View more
08-10-2018
10:30 AM
|
0
|
2
|
1961
|
|
POST
|
HI I'm hoping someone can shed some light on how widget config files are supposed to work. I'm extending existing widgets and creating new ones, and I found that I can't reference values in the config.json files (in the widget folder), either in widget.html or widget.js. My dev environment is using the pattern of writing code in source control, and using grunt to copy files to the sever. Using tools found in this esri git repo. After poking around at the deployed app, I see that the config.json file is not being used. The app is actually configured to use a config file like "...\server\apps\2\configs\FilterDateTime\config_widgets_FilterDateTime_Widget_21.json", which is not getting updated via my grunt task. Is this expected? Not really documented - esri docs just make it seem like you edit the config.json file in the widget folder and that's it. And not easy to manage, with the grunt task referenced above. It looks like I can modify the the app config so that it uses the config.json file in the widget folder, but not sure that is advisable. I'm assuming the way this is set up is meant to optimize performance. Any clarification about this and about best practices for managing these config files would be appreciated. Thanks
... View more
08-10-2018
09:37 AM
|
0
|
4
|
2118
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 6 | 11-19-2024 08:40 AM | |
| 1 | 11-19-2024 08:56 AM | |
| 5 | 08-09-2024 08:55 AM | |
| 1 | 07-04-2020 12:57 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|