Page 1 of 1

How can you use dates in the detail view of a master detail record? It is not one of the data types listed when you crea

Posted: Sat Mar 07, 2015 3:15 pm
by billb8

My app has multiple dates (birthday, etc) associated with a person. I would like to display an array of dates as the detail view of the person.

The models don't support the date data type. I was looking for another one to do this. Maybe another collection of dates that use a linking field to the persons collection.

Another option would be an array of dateName and date records in the persons collection. I.e dates [{"dateName":"anniversary", "date":"01/01/2016"}]

Any suggestions on a good pattern for this?
Thanks


How can you use dates in the detail view of a master detail record? It is not one of the data types listed when you crea

Posted: Mon Mar 09, 2015 6:13 pm
by Egor Kotov6832188

Hello Bill.
You need to use string type for your variable, cause, date type available is only in DB