07-12-2016, 08:40 PM
(07-12-2016, 08:37 PM)joebordes Wrote: The easiest way to create a record from within the application (and from outside) is to use the webservice interface.
Look at how we do it in the calendar import script:
https://github.com/tsolucio/corebos/blob/master/build/HelperScripts/importcalendarcsv.php#L153
the result of that call contains the ID you are looking for.
I suspected that would be the best way. So in this case the result is returned to '$row', and the ID can be retrieved from '$row["id"]'?