03-13-2014 02:26 AM
SLX 8.0, WebCore 4
I need to present some properties from child entity in the attachmentsgrid.
The values for the grid I get from Sdata.
I get a valid response by sending this reguest:
http://localhost:3333/SlxClient/slxdata.ashx/slx/system/-/attachments?_includeContent=false&startIndex=1&count=25&where=AccountId%20eq%20%27A6UJ9A001A7V%27&select=meeting_protocolid,description,user,attachDate,fileSize,fileName,url,fileExists,remoteStatus,dataType,Id,,$key&include=$descriptors&orderBy=attachDate&format=json&_t=1394702076304
Attachment table has meeting_protocolid column, it is the foreign key for meeting_protocol table.
What i have to do, to get some values from meeting_protocol table in the Sdata-Attachments query.
03-13-2014 02:50 AM
First you have to know, which Id you want to write or you have to create a payload on that meeting table to get the Key value.
After that you have to do an update for the "dynamic" feed on the attachment entity that you've created.
Maybe there are some more simple ways to do that, but this is, how I work.