<div dir="ltr">On 16 November 2013 21:37, Lionel Laské <span dir="ltr"><<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Okay it make sense. Thanks.<br>
</div><div>Few more questions about link between datastore and journal.<br></div><div>I understand that because each objectId has an activityId, it's easy for the journal to display the related activity for each datastore entry. Right ? But what if an activity create extra datastore entries ? Is there also the activtyId field in these extra datastore entries ?</div>
</div></div></div></blockquote><div><br></div><div>The toolkit is not adding an activityId. Honestly I'm not sure if any activity authors have been doing that but... I think it would be wrong and break stuff.<br></div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><div> If yes, how avoiding display it in the journal ? Guess also that each datastore entry has a date time entry ?<span class=""><font color="#888888"></font></span></div>
</div></div></div></blockquote><div><br></div><div>Yes, time is added automatically in the metadata by the datastore. There are few properties like this you will might need to support. That I can see at least creation_time, filesize, timestamp, they might not be documented other than by the code<br>
<br><a href="https://github.com/sugarlabs/sugar-datastore/blob/master/src/carquinyol/datastore.py">https://github.com/sugarlabs/sugar-datastore/blob/master/src/carquinyol/datastore.py</a> <br></div></div></div></div>