Is it possible to have Create Screen always having ID of the Bean? Not to wait until record is saved.
@cherub-chum
I think - yes.
Try it:
- Before create new screen, perhaps in function
display
of fileview.edit.php
write:
if (empty($this->bean->id)) {
$this->bean->->id = create_guid();
}
- Add function
save
to your object (<name of module>.php
) the line:
$this->new_with_id=true;