Hi all,
4 years ago, we created a production application based on arcgis js cli. During these years, we have created a lot of custom widgets for this app, following esri documentation, and we have migrated from:
Everything is working like charm and all the necessary tools to deploy to a production environment were included with the cli e.g. service workers, minification, PWA, etc. It saved us a loot of time! We considered that the cli was the tool to build production custom web applications.
We want to start developing a new custom web app. We found out that the arcgis-js-cli is going to be deprecated (with a recommendation to use vite).
We have been looking at the repo https://github.com/Esri/jsapi-resources:
What we are looking for is, a stable, "building for production", template to give us a boost start. So the question is, if we want to start creating a new custom web app, is there any official best practices/documentation/resources/recommended tools from esri?
I know there is no single answer, there are a lot of parameters to make a decision like that, just wondering if there is a consensus in the forum here or something that is already discussed between esri developers 😀
Thank you!
Solved! Go to Solution.
Perfect! thank you again for the prompt response.
Hi @MichailMarinakis1 - it looks like you have successfully extended the Editor Widget recently. Were you able to customise the render output for the Editor's featureFormViewModel? I'm facing some challenges similar to those you mentioned in this thread and I'm hoping it's possible to customise the form view model without having to rebuild the whole widget from scratch...
Hi @dndhm, we did customize the editor tsx but not the FeatureForm. It is not recommended to customize widget's tsx 😁 and as from Release 4.27 it is officially deprecated (further information here). Just for reference, we extended the editor's tsx and we override the render function e.g.
render() {
const element = super.render();
// custom code
return element;
}
In your case, the Editor widget exposes the featureFormViewModel but not the featureForm tsx (or does it? I couldn't find it). Normally, you may configure the featureFormViewModel.formTemplate (example here). If you want to achieve something more advanced, then I can think of these two ways forward:
Hope i have helped 😊