Hi all,
First of all, thanks for this wonderful package.
I'm using Knackpy to create records on a knack's db. Everything works (slowly, but it works), except one thing: I'm not able to assign a value to a connected field, remaining always blank.
I have two db, "db.Projects" and "db.Docs" (ID: "object_6"). dbProjects has a field "Project Code" that connects with db.Docs.
Let's say one of the "Project code" values is "ATM001", with internal ID "6221efc2f1a20c001e957bc7" .
On db.Docs, the connected field shows as (obtained from a manually entered record):
data["field_36_raw"]=[{"id":"6221efc2f1a20c001e957bc7","identifier":"ATM001"}]
(and then creating a new record with:
app.record(method="create", data=data,obj="object_6")
Any idea of which is the correct way of doing this, or any turnaround?
Thanks!
=== UPDATE ===
I'm now able to update the connected field value on a second step. So first I create the record (method="create") and then I update the values (method="update"). It will take twice the time, but... it works.
Hi all, First of all, thanks for this wonderful package. I'm using Knackpy to create records on a knack's db. Everything works (slowly, but it works), except one thing: I'm not able to assign a value to a connected field, remaining always blank.
I have two db, "db.Projects" and "db.Docs" (ID: "object_6"). dbProjects has a field "Project Code" that connects with db.Docs.
Let's say one of the "Project code" values is "ATM001", with internal ID "6221efc2f1a20c001e957bc7" .
On db.Docs, the connected field shows as (obtained from a manually entered record):
"field_36":"<span class=\"6221efc2f1a20c001e957bc7\">ATM001</span>", "field_36_raw":[{"id":"6221efc2f1a20c001e957bc7","identifier":"ATM001"}]
So far I've tried (none of them working)
Any idea of which is the correct way of doing this, or any turnaround?
Thanks!
=== UPDATE === I'm now able to update the connected field value on a second step. So first I create the record (method="create") and then I update the values (method="update"). It will take twice the time, but... it works.