Hi
I can’t figure out how to initialize an entity with values before opening the details view.
I tried to open the view manually with the following code, as written in the documentation:
@Autowired
private ViewNavigators viewNavigators;
private void navigateToCreateEntity() {
viewNavigators.detailView(Department.class)
.newEntity()
.navigate();
}
But I can’t find a way to initialize my fields from the List View.
I read Gleb’s post: https://forum.jmix.io/t/flowui-sending-parameter-to-next-screen/2267
But I would like to use a normal Detail View not a Popup Dialog.
I prefer not to use QueryParameters because are visible in the url and prevent them from being changed.
I appreciate your help
Thank you