Dialog on Trigger on new record
Am I correct that a Dialog will not work (cloud version) when creating a new record. Example dialog below in case there is something wrong with it.
let title := "Serial and/or Bundle Required";
let message := "Does this new record need it's Serial Number logged?
If so is it part of a Kit/Bundle?";
let answerOptions := ["Yes", "Both", "Ignore"];
if dialog(title, message, answerOptions) = "Yes" then
SERIALIZE = true;
if dialog(title, message, answerOptions) = "Both" then
SERIALIZE = true;
'IS BUNDLE' = true;
if dialog(title, message, answerOptions) = "Ignore" then
SERIALIZE = false;
'IS BUNDLE' = false
end
end
end
5 replies
-
said:
Am I correct that a Dialog will not work (cloud version) when creating a new record.You are correct all code in Trigger on New Record for the cloud version will run server side, so all alerts and dialogues do not show up to the user.
You can put it in a button and it will work.
-
So, limiting that. Only work around is to have fields/formulas based on display if. Painful! Would be great if one could fire a button on Trigger if new record.
Content aside
- 9 mths agoLast active
- 5Replies
- 71Views
-
4
Following