When I add a simple relationship, "New Record" form is blank

Hi - I am a new Xataface user working through the tutorial, but with my own database. I am trying to build a relationship, but it isn't working. I have two tables: tblProduct and tblAttachment. See below for table fields.
In my relationships.ini for tblProduct, I have the following code:
When I go into tblProduct and select "New Record" the Xataface screen loads but the HTML stops loading shortly after functionHandleLoadNode(){...}
the HTML file ends with the javascript "document.recordIndex['tblProduct?ID=4'] = "
Any suggestions would be greatly appreciated! Thanks!
In my relationships.ini for tblProduct, I have the following code:
- Code: Select all
[tblAttachmentRelationship]
tblAttachment.ProductID = "$ID"
When I go into tblProduct and select "New Record" the Xataface screen loads but the HTML stops loading shortly after functionHandleLoadNode(){...}
the HTML file ends with the javascript "document.recordIndex['tblProduct?ID=4'] = "
Any suggestions would be greatly appreciated! Thanks!
- Code: Select all
tblProduct
Field Type Null Default Comments MIME
ID int(11) No (PRIMARY KEY)
ProductType varchar(255) Yes NULL
ProcessNode int(11) Yes NULL
tblAttachment
Field Type Null Default Comments MIME
ID int(11) No (PRIMARY KEY)
ProductID int(11) No
AttachmentTypeID int(11) Yes NULL
Version double Yes 0
Description varchar(255) Yes NULL
Attachment longblob Yes NULL