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
|
1287
|
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
|
669
|
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
|
704
|
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
|
606
|
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
|
755
|
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
|
1965
|
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
|
3531
|
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
|
3541
|
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
|
2019
|
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
|
2033
|
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
|
3560
|
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
|
2168
|
POST
|
I am now seeing the conflicts between bootstrap.css and jimu-ui.css. For example bringing in the bootstrap makes some buttons in the app transparent like a sidepanel collapse button. So how do you get form control styling is the current question I have.
... View more
06-10-2021
02:04 PM
|
0
|
1
|
1968
|
POST
|
Thank you @Anonymous User. I actually just found expected results when pulling in reactstrap components and bootstrap.css simply using the following: import { Button, Form, FormGroup, Label, Input, FormText, Alert} from 'reactstrap'; import 'bootstrap/dist/css/bootstrap.min.css'; I definitely understand the best practice to use jimu-ui first whenever possible though. Even with jimi-ui I did not see default bootstrap styles (for the FormGroup for example) applied until running the css import in the custom widget though.
... View more
06-10-2021
10:52 AM
|
0
|
2
|
1979
|
POST
|
Hi, I have a framework question about ArcGIS ExB. Thanks for any input. As documented Experience Builder uses reactstrap under the hood for widget ui. When creating a custom widget aiming to target specific components in reactstrap such as forms http://reactstrap.github.io/components/form/, what is the proper way to reference these components? I am seeing that if we import the components import in the widget : { Button, Form, FormGroup, Label, Input, FormText } from 'reactstrap'; ...the resulting widget in the experience is not referencing the elements correctly including the bootstrap CSS and the components are basically not styled at all. I am hoping to clarify how and when to target jimi-ui, reactstrap, and direct bootstrap in widget ui creation. Thanks for any information. Sam
... View more
06-10-2021
07:12 AM
|
0
|
6
|
2032
|
Title | Kudos | Posted |
---|---|---|
1 | 06-19-2023 04:20 AM | |
1 | 08-23-2023 07:56 AM | |
1 | 10-26-2023 08:21 AM | |
1 | 01-10-2023 05:31 PM | |
1 | 05-02-2023 02:13 PM |
Online Status |
Offline
|
Date Last Visited |
11-15-2023
02:02 PM
|