Zoho Creator - Using Connection to create an entry in another application

Zoho Creator - Using Connection to create an entry in another application

Hi there

I want to add a record into another Creator application. Both applications fall under the same superadmin/company.

Now, I have the following system-generated connection, which I have authorised.


My line of code is this:
record = zoho.creator.createRecord(zoho.adminuser, "sfm-store", "Goods_Received", params, otherParams);


I'm receiving the error below:


It requires 6 arguments, the 6th being the 'connection name'.

But since this is an internal connection, and it is system generated, I don't know what the connection name must be. I have tried using the "Integration" menu and have selected the "ZohoCreator" option, but when I do this, the 6th parameter is omitted.



Somewhere in the help section I also read that when the connection-name is omitted, Creator would automatically assume we're using a system-generated connection.

But I can't get this to work.
Any ideas?