Forum Discussion
MarkShnier__You
Qrew Legend
6 years agoOK here we go, again. I had previously typed this but somehow "the dog ate my homework", maybe I forgot to SEND, I dunno.
Make a table with one record in it called Automation focus. Make 2 fields
[Record ID# of Source Meeting]
[Record ID# of Target Meeting]
It will be Record ID# of 1. Note that you can then get those values down to any table you need with a relationship where the reference field is a formula numeric of 1.
Make a checkbox field on the Meeting Table called [Needs Minutes Carried forward?]
Make a formula URL which will do two successive steps when launched off the previous meeting
1. Edit the Automaton focus record for the [Source Record ID#]
2. Create a new meeting (launching off the old meeting) and populate that field with true. and end the URL with &disprec=1 so that the use is landed on the new record.
Lookup the value of the [Record ID# of Source Meeting] down to the Meeting Minute Items using a 1 for the relationship field.
Create an Automation to fire when a Meeting minute is created and the [Needs Minutes Carried forward?] is checked.
The Automation will copy records from the Meeting Minute Items table to the Meeting Minute Items table where the Meeting Minute is Open and the Related Meeting = [Record ID# of Source Meeting]
The field for Related Meeting will be populated with the Record ID of the trigger record.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
Make a table with one record in it called Automation focus. Make 2 fields
[Record ID# of Source Meeting]
[Record ID# of Target Meeting]
It will be Record ID# of 1. Note that you can then get those values down to any table you need with a relationship where the reference field is a formula numeric of 1.
Make a checkbox field on the Meeting Table called [Needs Minutes Carried forward?]
Make a formula URL which will do two successive steps when launched off the previous meeting
1. Edit the Automaton focus record for the [Source Record ID#]
2. Create a new meeting (launching off the old meeting) and populate that field with true. and end the URL with &disprec=1 so that the use is landed on the new record.
Lookup the value of the [Record ID# of Source Meeting] down to the Meeting Minute Items using a 1 for the relationship field.
Create an Automation to fire when a Meeting minute is created and the [Needs Minutes Carried forward?] is checked.
The Automation will copy records from the Meeting Minute Items table to the Meeting Minute Items table where the Meeting Minute is Open and the Related Meeting = [Record ID# of Source Meeting]
The field for Related Meeting will be populated with the Record ID of the trigger record.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------
IvanWeiss
6 years agoQrew Captain
Mark, I think I got most of this but having a hard time with the button... Here is my formula url, never used the disprec function before so my assumption is that I am using it wrong
var text UrlOne = URLRoot() & "db/" & [_DBID_Meeting_Minutes_Carry_Over_Support_Table] & "?a=API_EditRecord" &
"&rid=1" &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_6=" & [Record ID#];
var text UrlTwo = URLRoot() & "db/" & Dbid() & "?a=API_AddRecord" &
"&_fid_16=" & URLEncode([Related Project]);
$UrlOne & URLEncode($UrlTwo) & URLEncode(URLEncode("&disprec=1"))
------------------------------
Ivan Weiss
------------------------------
var text UrlOne = URLRoot() & "db/" & [_DBID_Meeting_Minutes_Carry_Over_Support_Table] & "?a=API_EditRecord" &
"&rid=1" &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_6=" & [Record ID#];
var text UrlTwo = URLRoot() & "db/" & Dbid() & "?a=API_AddRecord" &
"&_fid_16=" & URLEncode([Related Project]);
$UrlOne & URLEncode($UrlTwo) & URLEncode(URLEncode("&disprec=1"))
------------------------------
Ivan Weiss
------------------------------
- MarkShnier__You6 years ago
Qrew Legend
OK, we will get there step by step
var text URLOne = URLRoot() & "db/" & [_DBID_Meeting_Minutes_Carry_Over_Support_Table] & "?a=API_EditRecord"
& "&rid=1"
& "&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8"
& "&_fid_6=" & [Record ID#];
var text URLTwo = URLRoot() & "db/" & Dbid() & "?a=API_AddRecord"
& "&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8"
& "&_fid_16=" & URLEncode([Related Project])
& "&_fid_99=1" // populate the checkbox field called [Needs Minutes Carried forward?]
& "&disprec=1";
$URLOne & URLEncode($URLTwo)
// note that we need the field [Needs Minutes Carried forward?] checked to be able to trigger an //Automation to carry forward the open Meeting Minute Items
// edit the 99 to be the correct fid
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------- IvanWeiss6 years agoQrew CaptainI received the following result with this code.... Something still didnt work right
var text UrlOne = URLRoot() & "db/" & [_DBID_Meeting_Minutes_Carry_Over_Support_Table] & "?a=API_EditRecord" &
"&rid=1" &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_6=" & [Record ID#];
var text UrlTwo = URLRoot() & "db/" & Dbid() & "?a=API_AddRecord" &
"&apptoken=c5gchf9bhwx6umbd2ii5zdqtb5x8" &
"&_fid_16=" & URLEncode([Related Project]) &
"&_fid_43=1" &
"&disprec=1";
$UrlOne & URLEncode($UrlTwo)
// note that we need the field [Needs Minutes Carried forward?] checked to be able to trigger an //Automation to carry forward the open Meeting Minute Items
------------------------------
Ivan Weiss
------------------------------- MarkShnier__You6 years ago
Qrew Legend
sorry that last line should be
$UrlOne
& "&rdr=" & URLEncode($UrlTwo)
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
mark.shnier@gmail.com
------------------------------