Forum Discussion
MarkShnier__You
Qrew Champion
I think you will have to have someone have a look at your app. This might need a support ticket to the care team.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
PeterGacek
3 years agoQrew Cadet
Thanks Mark,
I submitted a support ticket. One question about our previous formula, would I be able to alter it to a User - List instead of User to have it sent to multiple email accounts? It won't let me populate the formula for the User List I created into the UserToEmail portion of the formula.
Here's what we had previously where [Send quote to:] is my user field:
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Record ID#]
& "&tolist=" & List (",", UserToEmail([Send quote to:]), UserToEmail([Last Modified By]))
------------------------------
Peter Gacek
------------------------------
I submitted a support ticket. One question about our previous formula, would I be able to alter it to a User - List instead of User to have it sent to multiple email accounts? It won't let me populate the formula for the User List I created into the UserToEmail portion of the formula.
Here's what we had previously where [Send quote to:] is my user field:
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Record ID#]
& "&tolist=" & List (",", UserToEmail([Send quote to:]), UserToEmail([Last Modified By]))
------------------------------
Peter Gacek
------------------------------
- MichaelTamoush3 years agoQrew CaptainMark,
I'm thinking his error message is due to the fact that when it's a new entry, there is no record ID, and so when he uses the GenEMailRecord, it has nothing to grab. Possibly?
He could use rich text field and do the new savebeforenavigating, with the %%rid%%.....?
------------------------------
Mike Tamoush
------------------------------ - MarkShnier__You3 years agoQrew ChampionPeter,
You should set that button to only show in Edit or view mode on the form, but not Add mode. It will not work if you have not saved the record.
The record does not exists if you have never saved it. So you cannot email a record which does not exists.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - PeterGacek3 years agoQrew CadetHey @Mike Tamoush,
Instead of the user having to press the save & continue or save & close button before being able to email the form, would I be able to integrate something into my button formula so it can save and then trigger the email action?
I'd likely still keep the button to only show in edit or view mode but curious if it were possible otherwise as you had mentioned it previously. Here's my current code:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList)
Thanks,
------------------------------
Peter Gacek
------------------------------ - MarkShnier__You3 years agoQrew ChampionI suggest that you have the user save the record and put the button to email on the form but set to only show in view mode. The other choice is to not use that type of emailing and instead create what is called an email notification. Are you familiar with email notifications?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - MarkShnier__You3 years agoQrew ChampionUserListToEmails
try this
var text MyUserList = ToUserList([My userlist field goes here], ToUserList([Last Modified by]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Record ID#]
& "&tolist=" & UserListToEmails($MyUserList)
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------ - PeterGacek3 years agoQrew CadetThanks Mike/Mark, so if the quote is attached to an opportunity it works because it has a record ID associated with it already?
I'll work on hiding the button to show in edit/view and hope that satisfies my co-workers.
------------------------------
Peter Gacek
------------------------------ - PeterGacek3 years agoQrew CadetHey @Mark Shnier (YQC),
Wondering if you possibly had input on this as I just started looking at things again and still haven't been able to make things work but I feel like I'm overthinking it. I'm wondering if I can also have my email button automatically save the form before triggering the email when clicked.
Here's the current formula:
var UserList MyUserList = ToUserList([Send form to:], ToUserList([Last Modified By]));
URLRoot() & "db/" & Dbid() & "?a=GenEmailRecord&rid=" & [Job site inspection form ID#]
& "&tolist=" & UserListToEmails($MyUserList
Thanks again for all your help previously,
------------------------------
Peter Gacek
------------------------------ - PeterGacek3 years agoQrew CadetHey Mark,
Thank you for responding, I actually currently have it so the email button only shows in view/edit mode.
I've gone the notification route as well but it wasn't the preferred method per my co-worker's input though I may circle back to it. I was just hoping there might be some sort of onClick event I could slip into my formula but if it's not really possible then I'll stick with just hiding the buttons in add mode.
Thanks again for your help
------------------------------
Peter Gacek
------------------------------