CRMScript dialog not working in 'Before saving in dialog Add/editproduct' trigger
Status: Reported
Description
- Go to Settings and maintenance > CRMSCripts.
- Create a trigger script of "Before saving in the dialog: Add/edit product".
- Use such code:
EventData eventData = getEventData();
EventDataDialogDefinition dialog;
dialog.setTitle("Travel time");
dialog.setType("yesno");
dialog.setIcon("question");
dialog.setPrefix("step1_"); //Adding prefix to dialog fields
dialog.setText("Do you want to add travel time to your appointment?");
eventData.showDialog(dialog);
Observed that: when such script code is used - the dialog does not show up.
When using the exact same code on for example the 'before saving contact' trigger it does show the dialog.
Expected that: the dialog would appear.
info
Vennligst logg inn for å kommentere
Detaljer
Problemet id | 40197 |
Registrert | 10 mar. 2023 |
Sist endret | 27 mar. 2023 |
Alvorsgrad | Medium |
Område | Sales |
Status | Reported |
Målversjon | |
Type | Bug |
track_changes
Follow
info
Kommentarer
[2023.03.27: kim]
This exact issue also affects the triggers: Before/After saving Documents.