POST
|
A case i can imagin: If you add a Stream Layer to a WebMap it only supports a simple renderer. If you want e.g. a unique value renderer you have to implement it by yourself. In this case you also need to modify the Legend and Layerlist.
... View more
01-11-2016
12:26 AM
|
0
|
0
|
1143
|
DOC
|
Correct, that would make it a lot easier with a query capability. You have to develop the code by yourself and search on client side.
... View more
01-10-2016
11:10 PM
|
0
|
0
|
3171
|
DOC
|
It would be very nice if you could also search for Attributes of Stream Layer which are currently visible in the map.
... View more
01-08-2016
05:26 AM
|
0
|
0
|
3171
|
POST
|
Hi Robert, yes debugging should not be the problem with chrome, firefox etc. But I am still thinking about the best solution to work together with a few people, developing widget that also might communitate with each other. You already mentioned in the other post that you develop on it's own, so you are not running in this kind of problem. In the current scenario everybody should have its own instance of webapplication builder running locally, and work in its own app folder ([install dir]\server\apps\[app #]\widgets). So this should be the part that is pushed to a repository. To make it available for others in their local envirionment and to make it available for new apps i it also should be located at [install dir]\client\stemapp\widgets. So i need to update all the changes of the widget at both locations. But still if someone creates a new widget it will not be available in an existing app. Or we have to copy it "manually" to the app folder and edit the config. Stefan
... View more
01-07-2016
02:09 AM
|
0
|
2
|
903
|
POST
|
Thanks for your answer. I was hoping that there is a better way for the development. This is the best way i can see to handle the problem with develop the settings, but still not the best one for devloping a few widgets with 3+ people.
... View more
01-06-2016
06:21 AM
|
0
|
4
|
903
|
POST
|
What Developent Environment are you using for developing Custom Widgets? Especially to be able to develop the Settings part as well. Currently I'am trying to figure out how good it works with Visual Studio 2012 to have the benefit of debugging. If i only have to develop one Widget the best way for me was to create an application and add some Basic Widets and download it. Then i've created a WebProject with Visual Studio based on the application. Within the Application i've created a new Widget and added the Widget to the config.json. This worked pretty well for developing and debuging the Widget itself, but it got more complicated when trying to work on the Settings-Part. Therefor i created a new "dummy-widget" for development and copied it to the settings folder of the original widget (+ renaming Widget.* => Settings.*). To really test the settings i need to copy the widget to the web-appbuilder directoy and edit the application. If i imagine to develop 10+ widgets with a team and the widgets also needs to comunitate with each other, this might not gona work this way. Are there any other good Ideas? How are you develop custom widgets? Stefan
... View more
01-06-2016
05:56 AM
|
0
|
8
|
5251
|
POST
|
i think using Dojo's Topic framework is a good approach. But be carefull cause it can get very confusing if you have to many events between the widgets.
... View more
01-06-2016
12:52 AM
|
0
|
0
|
1722
|
POST
|
Hi Robert, theoretical this works fine, but I have some timing problems. First of all i had a look at the documentation 'Communication to app container' and the 'Dijit Lifecycle' to find out which is the correct method to place the code for minimizing the widget with the PanelManager. I placed the code in the 'startup' method and it did work with Firefox but not with Internet Explorer. To make it work in the Internet Explorer i had to use a timeout: var panel = PanelManager.getInstance().getPanelById(this.id + '_panel');
setTimeout(function() {
panel.onTitleClick();
},500); Using a timout is not the best solution I've tested the widget on some mobile devices and the "openAtStart" does not trigger the widget to open at start at all. So i guess for responsive design it does not open cause the display is too small. At the beginning i was only previewing it in the Web AppBuilder and there is a different behavior - as described above. - Stefan
... View more
07-31-2015
01:29 AM
|
0
|
0
|
745
|
POST
|
Hi Robert, the custom widget i want to minimize is located in the HeaderController, thats correct. I am will try to use the PanelManager tomorrow when I am back in the office. Thank you for this hint. I also tried to minimize other in-panel widgets which are not located in the HeaderController. But using the Widget Manager did never work for me. Did you ever get it work with the Widget Manager at all? Using the PanelManger and simulate the TitleClick event looks like a workaround for me, but I am happy if it works - Stefan
... View more
07-30-2015
01:15 PM
|
0
|
2
|
745
|
POST
|
Thanks Robert, so i guess the best way is to use a custom copy of SimpleTable which is located within my Widget. Maybe there will be some more events in a future version of the SimpleTable. It also would be nice if there is a github for sharing the modified 'jimu/dijit's - Stefan
... View more
07-30-2015
06:37 AM
|
0
|
1
|
910
|
POST
|
Hi Robert, for me it would be enough if i would get any event after the user has edited the field. I don't even need the TR that has been edited.I Could iterate over the table after the event has been fired. When using 'editable:true' for a field the user will edit the field with a double click, and it will be finished if the field is not in focus anymore. So even a click outsite of the browser will finish the editing. And exacly at this point I would like to receive any event. The 'actions-edit' does only fire when using the type actions ['edit'] and the user is clicking on the pen. Did i get anything wrong? - Stefan
... View more
07-30-2015
06:15 AM
|
0
|
1
|
910
|
POST
|
Hi Robert, i've used the 'actions-edit' in an other SimpleTable where the user can edit more than just one field. In this case I open a Popup for the edit action. But just for editing one field I don't want to open a new popup. Neither i want to implement the editing within the table by myself. Did you work with the 'editable: true' property or did you implement it youself ? - Stefan
... View more
07-30-2015
05:52 AM
|
0
|
3
|
910
|
POST
|
I have a in-panel widget which should be (open) minimized when the app starts. Using the property 'openAtStart: true' is working fine to open the widget when the app starts, but the widget is starting with maximized UI. When using the widget on a mobile device the Panel will use the complete screen. Is there any property i missed to open the widget with minimized UI at start? What i've tried is to use the Widget Manager to minimize the widget after it has been initialized. But i've never get it work to minimize any widget, not event the startard widgets (Legend, Layer-List). GetAllWidgets works like expected and returns the loaded widgets. But if i try to minimize with the widget instance or the id nothing happens: var wm = WidgetManager.getInstance();
var widgetList = wm.getAllWidgets();
wm.minimizeWidget(widgetList [8])
wm.minimizeWidget(widgetList [8].id) Any hint is welcome - Stefan
... View more
07-30-2015
01:39 AM
|
0
|
4
|
3824
|
POST
|
Some of the Esri out of the box Widgets are using the jimu.js/dijit/SimpleTable for creating a Table. To make my Widget responsive i thought using the SimpleTable is the best method for now. So i don't have to care about the styling and can use all the features the SimpleTable comes with. It's easys to create a new table and fill it with data, but the eventhandling is not 100% working like excepted. If you want a user to be able to edit text within the table you can set the Parameter 'editable: true' for a field. But there is no event that notifies if the user has edited a field. The event 'row-edit' is not fired in this case. It looks like that this event is only fired when the row is updated programatically. Does anyone have some experience with the SimpleTable? Currently I am thinking about modifying the SimpleTable. - Stefan
... View more
07-30-2015
12:25 AM
|
1
|
7
|
3976
|
POST
|
Is there a reason why the Layer-List Widget is not listening to the 'layerInfosIsShowInMapChanged' Event provided by LayerInfos? Looks like the Layer-List Widget is expecting to be the only Widget that changes the visibility of layers. I've developed a Widget (to group layers) that also affects the Layer visibility. The Widget is using 'setTopLayerVisible' like the Layer-List does, but the UI of the Layer-List Widget is not updating. The Legend Widget is listening to this Event like expected and is updating the legend for the visible layers. To make it work it had to edit the 'LayerListView.js' of the Layer-List Widget. Listening to the 'layerInfosIsShowInMapChanged' Event and check/uncheck the checkboxes for the updated layer. I did't find any other way, but i don't like the solution to update this widget. With the next version the Layer-List Widget might change and i have to update it again. The best solution would be if the Layer-List Widget would subscribe the event as it is.
... View more
07-29-2015
11:40 PM
|
2
|
1
|
3197
|
Title | Kudos | Posted |
---|---|---|
2 | 07-29-2015 11:40 PM | |
1 | 07-30-2015 12:25 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|