Skip to main content
Question

API_AddRecord and land the user in edit mode.

  • November 16, 2021
  • 0 replies
  • 215 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
------------------------------

Forum|alt.badge.img+5
  • Registered
  • December 2, 2021
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
  • Registered
  • December 2, 2021
what is the &disprec=1 ? Is that new?

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