Does anyone know the best way to list allof the entries for a form by a specified status? For example I want a page that lists all of the unapproved entries (sort of like the one in the contour form entries page). Does anyone know what API call I'd use to do this? I can list all the records for the form, but I'm struggling to get them by status. Any pointers appreciated!
I've ended up using the GetAllRecords method to get all the records for the form and then using LINQ to filter out the ones that are awaiting approval. That binds to the grid nicely and seems to be working OK.
Can you see any potential problems using that method or should it be ok?
If I do use the Library methods to return records, how would I go about binding them to a datagrid. I don't seem to be able to bind the returned XPathNavigator to the grid correctly, it always just has one row.
List Entries By Status
Hi,
Does anyone know the best way to list allof the entries for a form by a specified status? For example I want a page that lists all of the unapproved entries (sort of like the one in the contour form entries page). Does anyone know what API call I'd use to do this? I can list all the records for the form, but I'm struggling to get them by status. Any pointers appreciated!
:)
I'm binding the results to a data grid.
Comment author was deleted
Hi Tim,
If think the best way to do so would be to use the xslt extensions
Comment author was deleted
Or once you have a list of records you should also be able to bind to a grid
Hi Tim,
I've ended up using the GetAllRecords method to get all the records for the form and then using LINQ to filter out the ones that are awaiting approval. That binds to the grid nicely and seems to be working OK.
Can you see any potential problems using that method or should it be ok?
Comment author was deleted
Hi Tim, that should be perfect
Hi Tim,
If I do use the Library methods to return records, how would I go about binding them to a datagrid. I don't seem to be able to bind the returned XPathNavigator to the grid correctly, it always just has one row.
is working on a reply...