MindaMay
6 years agoQrew Cadet
Button to Add Child Record, Save it, Display it, Reload, then Edit mode
I have a button that adds an Estimate to an Opportunity. The button Adds the child record, Saves it, and Displays it. An automation runs in the background that adds child records to the Estimate. Ideally I want my button to do two more things. Refresh the new Estimate and display it in Edit mode.
Here's what I have so far. Any ideas?
//This uses the Quick Base API to Add a Related Estimate, Save it, and then display it.
URLRoot() &
"db/" & [_DBID_ESTIMATES] &
"?a=API_AddRecord&_fid_6=" &
URLEncode ([Record ID#]) &
"&apptoken=mytokenishere" &
"&disprec=1"
Here's what I have so far. Any ideas?
//This uses the Quick Base API to Add a Related Estimate, Save it, and then display it.
URLRoot() &
"db/" & [_DBID_ESTIMATES] &
"?a=API_AddRecord&_fid_6=" &
URLEncode ([Record ID#]) &
"&apptoken=mytokenishere" &
"&disprec=1"