POST
|
Hi, reviewing the 1.7 Dev Edition and two observations about the Query widget. Any ideas/feedback welcome. 1) In using the framework selection trigger to select the corresponding source map feature, no popup is automatically shown. This is different behavior than the WAB query widget which would automatically popup the feature. Is this a behavior that is in the road map or is there a known workaround? 2) The clear results command on the query widget does not clear the map selection that it triggered in the first case. This is also different behavior than the WAB query widget Clear Results which would reset the corresponding map selection. Is this something that could be added to the roadmap as well? Thanks for any responses. Sam
... View more
01-28-2022
08:22 AM
|
0
|
1
|
377
|
POST
|
Hello I found some success with this by going through the config files with the following approach. I believe it may be necessary to make sure the datasourceid for child datasources matches the ID of the layer in the webmap json if that it how it is referenced. Make new copy of app folder In \info.json update Id Owner Portalurl Username In \config.json and \resources\config.json Update portalurl Update itemid of any map datasource Update itemid, url, and datasetid of any child datasource to match the format including the datasource ID of the layer in the webmap json
... View more
10-13-2021
10:25 AM
|
1
|
0
|
1364
|
POST
|
Hello, We are developing a few sites using the developer edition of the experience builder and need to create a copy of the site to point to new datasources to support a dev/test and production site pointing to different data. I was hoping someone from the development team or the wider community could share any approaches that may work for this workflow. I have gone through the json configuration files with a text editor and replaced portalurls, clientids, itemids, and urls. The builder does load up the new main map but all the widgets' datasources are broken and the console reports many "data sources not found". Stepping through the dev tools does show that the datasources being referenced do not exist in the state manager's view of the application. I have not found any other value in the configuration which should be updated. Any feedback and advice on updating datasources without the need to completely recreate a new site configuration would be appreciated. Thank you! Sam
... View more
10-12-2021
08:47 AM
|
1
|
1
|
1534
|
POST
|
Hi, we were also working through this problem and I just confirmed that republishing the data with has Z: false has worked around the above issue. Many thanks to @ShawnGoulet1 for keying me into this.
... View more
08-25-2021
11:54 AM
|
0
|
1
|
1564
|
BLOG
|
Hi @Jianxia - question, and sorry if I missed this elsewhere, but is there documentation on the proper workflow for upgrading applications between versions- will copying the public/apps folder between 1.4 and 1.5 properly upgrade the apps or are there manual configuration file changes that are needed? Thank you, Sam
... View more
08-16-2021
08:50 AM
|
0
|
0
|
791
|
POST
|
Hi @Anonymous User, can you describe how to access the widget's datasource in componentDidUpdate in order to getSelectedRecords? Thanks, Sam
... View more
08-13-2021
05:01 AM
|
0
|
1
|
1022
|
POST
|
Thank you @TianWen. Would you happen to know of a sample or example showing the use of the attachment widget separately from the embedded editor widget within Experience Builder custom widgets? I would really appreciate more information on that. Regards, Sam
... View more
07-26-2021
05:23 AM
|
0
|
1
|
780
|
POST
|
Hi, it looks like the attachments widget now used by the editor widget will show thumbnails if the displayType property is set to 'preview'. Any guidance on how to best set this in a 4.x widget for Experience Builder? Perhaps using Editor::supportingWidgetDefaults? Appreciate the help! if (this.myRef.current) {
const newEditor = new Editor({
view: jmv.view,
container: this.myRef.current
});
... View more
07-02-2021
11:30 AM
|
0
|
3
|
929
|
POST
|
What I have working just now is a custom editor widget with both a JimuMapViewComponent and DataSourceComponent. The editor widget is configured with the configured layer read in ActiveViewChanged, and that layer saved in state. Then on DataRender I am getting the selection as suggested by @AdrianAkbariNet4s and @ShawnGoulet and used to create a feature with the layer reference to pass to startUpdateWorkflowAtEdit. if(this.state && this.state.currentWidget && ds.getSelectedRecords().length==1){
let g=new Graphic();
g.attributes=ds.getSelectedRecords()[0].getData();
g.layer=this.state.currentEditLayer;
this.state.currentWidget.startUpdateWorkflowAtFeatureEdit(g);
} This seems to have the behavior I am looking for which keeping the editor in sync with feature selection changes. Thanks alot. Sam
... View more
06-30-2021
10:40 AM
|
1
|
0
|
2729
|
POST
|
What I have working just now is a custom editor widget with both a JimuMapViewComponent and DataSourceComponent. The editor widget is configured with the configured layer read in ActiveViewChanged, and that layer saved in state. Then on DataRender I am getting the selection as suggested by @AdrianAkbariNet4s and used to create a feature with the layer reference to pass to startUpdateWorkflowAtEdit. if(this.state && this.state.currentWidget && ds.getSelectedRecords().length==1){
let g=new Graphic();
g.attributes=ds.getSelectedRecords()[0].getData();
g.layer=this.state.currentEditLayer;
this.state.currentWidget.startUpdateWorkflowAtFeatureEdit(g);
} This seems to have the behavior I am looking for which keeping the editor in sync with feature selection changes. Thank you. Sam
... View more
06-30-2021
10:38 AM
|
1
|
0
|
4822
|
POST
|
Thank you @AdrianAkbariNet4s. Are you able to describe how to incorporate the ds.getSelectedRecords() into the Editor Widget sample workflow where an ActiveMapView is used to access the layer necessary to initialize an editor widget? Thanks for any info, and I appreciate the response here!
... View more
06-30-2021
08:35 AM
|
0
|
1
|
4832
|
POST
|
Hey @ShawnGoulet, thank you for the suggestion. I gave it a shot but was unsuccessful. Can you tell me if there is a way to get the selected map feature from a target layer in the map without a popup reference? We are selecting the map feature from a related list click and this does not launch the popup - there is therefore no reference to a popup.selectedFeature when the editor is created on that page in any case until you click on the map again. Ideally the Edit feature command would simply recognize the selected feature in the map or better yet when the widget is initialized the editor can be told to directly show the edit form for the feature. Do you think this can be accomplished? Thank you. Really appreciate the help. Sam
... View more
06-25-2021
05:04 PM
|
0
|
0
|
2783
|
POST
|
Thank you @jcarlson for the suggestion. If I can get the selected feature I'll try startUpdateWorkflowAtFeatureSelection on the editor. Not quite sure yet in the framework how to approach that or if it will work but I appreciate the idea.
... View more
06-25-2021
12:14 PM
|
0
|
2
|
2797
|
POST
|
@DavidMartinez can you suggest how a custom widget can access an existing selected feature in a layer? Mostly I am trying to resolve an issue in that the editor widget sample does not seem to pick up the selected feature in the map when it loads requiring an extra map click. https://community.esri.com/t5/arcgis-experience-builder/editor-widget-and-picking-up-the-current-selection-without/m-p/1072426#M2202 I was investigating a workaround to use something like startUpdateWorkflowAtFeatureSelection(f) to try and trigger the expected behavior. But if you have feedback on the general issue and approach to the problem I would be grateful, thanks.
... View more
06-25-2021
12:12 PM
|
0
|
3
|
4851
|
POST
|
Hello! Thanks for any ideas on this one. The current Editing widget when opened always states "Select a feature to edit it" even if the bound map has a current selection. The user has to click on the map again to select the same feature again before the editor displays the selected feature's attributes. Does anyone know if this is a current limitation and if there is a workaround? I have a custom version of this widget in the developer environment so can insert custom logic. Thank you! Sam
... View more
06-24-2021
03:43 PM
|
0
|
5
|
2932
|
Title | Kudos | Posted |
---|---|---|
1 | 06-19-2023 04:20 AM | |
2 | 08-23-2023 07:56 AM | |
1 | 10-26-2023 08:21 AM | |
2 | 01-10-2023 05:31 PM | |
1 | 05-02-2023 02:13 PM |
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|