Search found 8 matches

Go to advanced search

by Rik Knijff
Mon Jun 02, 2014 9:04 am
Forum: Issues
Topic: I only want to show data of the next 7 days
Replies: 3
Views: 630
 
Jump to post

I only want to show data of the next 7 days

Thnx for the link, helped me a lot. I still have two questions: How do I add 7 days to the currentDate? { "Datum_Product" : {"$lt" :"currentDate"} } Second I use currentDate but it needs another date format: But is still don't know how to convert the date in the databas...
by Rik Knijff
Tue May 27, 2014 3:09 pm
Forum: Issues
Topic: I only want to show data of the next 7 days
Replies: 3
Views: 630
 
Jump to post

I only want to show data of the next 7 days

I found a topic concerning my question, so far I got the following code: var d = new Date(); d.setDate(d.getDate() + 7); var dateStr = d.toISOString(); return '{"Datum_product":{"$":"'+ dateStr +'"}}'; but my knowledge of JavaScript is very bad so can you help me do thi...
by Rik Knijff
Mon May 12, 2014 8:58 am
Forum: Issues
Topic: updating colums with input fields in dynamic Itemlist
Replies: 11
Views: 2804
 
Jump to post

updating colums with input fields in dynamic Itemlist

Hi Deki, I used a button in my list, if you press the button it wil set the values of the input fields plus the item_id in to local storage, after that you invoke update services to put those local values in the database. https://d2r1vs3d9006ap.cloudfront.net/s3_images/1055151/localstorage_inline.pn...
by Rik Knijff
Mon May 05, 2014 9:16 pm
Forum: Issues
Topic: updating colums with input fields in dynamic Itemlist
Replies: 11
Views: 2804
 
Jump to post

updating colums with input fields in dynamic Itemlist

It did help without the user interface, but I figured out that I had to configure the button so they could modify the local variables, thanks for all the help!

by Rik Knijff
Sat May 03, 2014 3:25 pm
Forum: Issues
Topic: updating colums with input fields in dynamic Itemlist
Replies: 11
Views: 2804
 
Jump to post

updating colums with input fields in dynamic Itemlist

Yes ofcourse here is the list_service mapping:
Image

And here is the update_service mapping:
Image

by Rik Knijff
Sat May 03, 2014 2:26 pm
Forum: Issues
Topic: updating colums with input fields in dynamic Itemlist
Replies: 11
Views: 2804
 
Jump to post

updating colums with input fields in dynamic Itemlist

The problem is I know you can use update service, but I am only been able to update the first column in my database no matter wich input field I use.

what am i doing wrong? most I use arrays?

by Rik Knijff
Sat May 03, 2014 12:11 pm
Forum: Issues
Topic: updating colums with input fields in dynamic Itemlist
Replies: 11
Views: 2804
 
Jump to post

updating colums with input fields in dynamic Itemlist

I want to show a list with items from the database and that you be able to update the items in the database with the input fields. Is this possible?
Image

by Rik Knijff
Fri May 02, 2014 5:21 pm
Forum: Issues
Topic: Update Mapping Problem
Replies: 4
Views: 1766
 
Jump to post

Update Mapping Problem

I have almost the same problem, only i don't have users and I mapped the _id to object_id but it still doesnt work!

Image

Go to advanced search