I am using this advance date picker to pick multiple dates, now i have to save those dates in the "Date" attribute in my entity inside a single record.
how can i do that??
You can always serialize the list of dates to JSON and persist the JSON string. If the list might get really long, it might be best to persist the JSON string as Binary.
Then you can do JSON deserialize when you fetch the data again.
It worked.
Thank you.
hey @Steven Decock
How to get that JSON data again in the form of date list.
For every single record in an entity???
Loop over it with a For Each and use DeserializeJson.
I guess the best thing you could do might be concate them into a single string, then save in the entity attribute, and when you pull the data back, you have to split them back into multiple string, and convert them using the TextToDate() to convert back to a Date List
Hi Mohd,
What's the reason you need to save it in a single record? Can't you add an entity that references the record and holds a date?