AppCloud : Sub-Event into Event

You must Login before you can answer or comment on any questions.

Hi all, i'm looking for "the best practice" to do that: Example: for a film festival: - i have some films - conferences - some "non predictable" Event ( ex: "Brad Pitt came with a new girlfriend " ;) ).

So, i'm looking for easier way to link all this datas to my Event. All those datas can be view as Event (or Sub-Event) .. but how to link Events to another ?

Cheers Patrick

1 Answer

you can use a custom object which has the event id as part of it.

{
    main_event_id : "11111", <---- ID OF EVENT TO LINK SUB-EVENT TO
    text : "Brad Pitt came with a new girlfriend " 
}

— answered 10 months ago by Aaron Saunders
answer permalink
2 Comments
  • sorry... then when you query for an event, you can execute a second query to get all of the sub events OR you could create the subEvents and attach them as a custom_object to the main_event through an array of sub_event ids

    — commented 10 months ago by Aaron Saunders

  • Thx Aaron , with very flexible parameters, i think it's the best solution :)

    — commented 10 months ago by Patrick FAUST

Your Answer

Think you can help? Login to answer this question!