anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

Image

I have a Parse.com class setup with data as in the attached screen shot.

In my Tiggzi project (http://tiggzi.com/preview/b206b274-c7...) i have managed to setup a REST service as a 'get' method to retrieve all the records.

I want to be able to retrieve records by filtering on the 'type' column e.g. where type='a'.

I have tried setting the REST service to be a 'post' method and adding the 'type' as a Request Parameter with it's default value set to 'a' but that still returns all the records.

Please can you tell me how I may do this in the Tiggzi builder?

anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

Hi Max,

I tried adding a Request Parameter as in the screen shot but that didn't return the filtered items. Is that the way you recommended?

Image

anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

Yes but in my parse class I haven't got a column called text. I want to filter by column called type with a value of 'a'. the test also runs successfully for me but returns all the records not the filtered records.

anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

Is it possible to assign the results of a rest request to something other than a list control like a label control? I want to use parse as a cms but do not want to represent the results as a clickable list.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Executing Parse.com filter queries using Tiggzi Request Mapping

I created a new table with 'type' field, it also works: Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Executing Parse.com filter queries using Tiggzi Request Mapping

You can assign to any component. You need to use grid/list if you want to iterate over the result.

anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

I want to iterate over the result set so understand that I need to use a list but can a list be styled so that it doesn't look like a navigation list of buttons but more like a label. I need the appearance to look like text only.

anilsojitra
Posts: 0
Joined: Fri Jan 20, 2012 10:51 am

Executing Parse.com filter queries using Tiggzi Request Mapping

Okay thanks max. I will try again.

Return to “Issues”