Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Nov 01, 2010 @ 12:53
    Tim
    0

    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

    Nov 01, 2010 @ 12:57

    Hi Tim,

    If think the best way to do so would be to use the xslt extensions

  • Comment author was deleted

    Nov 01, 2010 @ 13:02

    Or once you have a list of records you should also be able to bind to a grid

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Nov 01, 2010 @ 14:02
    Tim
    0

    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

    Nov 02, 2010 @ 08:37

    Hi Tim, that should be perfect

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Nov 03, 2010 @ 16:14
    Tim
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft