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
Please log in to comment.
Details
Issue id | 40197 |
Registered | 10 Mar 2023 |
Last modified | 27 Mar 2023 |
Severity | Medium |
Area | Sales |
Status | Reported |
Target release | |
Type | Bug |
track_changes
Follow
info
Comments
[2023.03.27: kim]
This exact issue also affects the triggers: Before/After saving Documents.