Skip to main content
Question

API_AddRecord and land the user in edit mode.

  • Nov 16, 2021 6:05 PM UTC
  • 0 replies
  • 268 views

MarkShnierYou
Forum|alt.badge.img+24
This works to works to create a record and land the user in View mode.

URLRoot() & "db/" & [_DBID_SKTDS] & "?act=API_AddRecord"
& "&_fid_6=" & URLEncode([Supplier])
& "&disprec=1";


Is there any way to land the user in edit mode?


------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
This topic has been closed for replies.

Forum|alt.badge.img+5
  • Qrew Crew
  • Dec 2, 2021 7:23 PM UTC
We are currently trying to do the same thing with no success, use a Formula URL field to call API_AddRecord then redirect to Edit mode of the new record. I was hoping to use %%rid%% in the redirect URL but that errors out. The "&disprec=1" does not work either, it sends me to the XML response from the API_AddRecord instead of View mode.

Has anyone been able to figure this one out in the couple weeks since this was originally posted?

------------------------------
Oana Toma
------------------------------

Forum|alt.badge.img+20
  • Qrew Champion
  • Dec 2, 2021 10:12 PM UTC
what is the &disprec=1 ? Is that new?

------------------------------
Mike Tamoush
------------------------------