Page 1 of 1

Just Get First 5

Posted: Wed Dec 12, 2012 10:34 am
by Suphi
Hi,

I created a template and it works great but I just want to get first 5 record in the page and I could not figure out how.

Do you have any idea to get first 5 records?

Thanks,

Re: Just Get First 5

Posted: Wed Dec 12, 2012 4:01 pm
by Suphi
I made some tests with "Execute tree: Select Each" and some other execute tree options as well but it didnt worked.

Re: Just Get First 5

Posted: Mon Dec 17, 2012 12:34 am
by webmaster
Hi,

I'm attaching a premade project that will do what you need. Just import this project into your current project and add an Execute Actions Tree -> Define Kind for every kind you want to limit the amount of elements to select, right before your Extract action or whatever action uses the kinds you want to limit.

It'll ask you to provide a Base Kind, a New Kind Name and a Max Items quantity. The Base Kind is the kind that you want to limit, the New Kind Name will be the name of a new kind that will select Max Items elements taken from the Base Kind and give you the steps you need to follow in order to create this new kind.

Let me know if you have any questions.