ASPX templates
Version 5.x > ASPX templates > Adding a filter to the BizForm data listing page View modes: 
User avatar
Certified Developer 8
Certified Developer 8
Sharon - 9/19/2012 12:38:06 AM
   
Adding a filter to the BizForm data listing page
Accidentally posted this in the wrong forum!

I've used the method described at Adding a filter to the BizForm data listing page, and it also works will with version 5.5R2.

Unfortunately in version 5.5R2 the filter parameter isn't passed through to the export dataset (/CMSModules/BizForms/Tools/BizForm_Edit_Export.aspx.cs - line 71 - dsFormData = genConn.ExecuteQuery(className + ".selectall", null, null, null);).

Is there a way I filter the export dataset in version 5.5R2?

User avatar
Kentico Developer
Kentico Developer
kentico_ivanat - 9/20/2012 6:33:48 AM
   
RE:Adding a filter to the BizForm data listing page
Hi,

This should be supported by default in version 6.0. You can define Filter alternative form and these results will be also exported:
filter form

In version R2 you can try to check if value of custom controls is not available in the sender object. If not, you can try to save it to the session for example using SessionHelper class. Then you can chang null parameter of the ExecuteQuery method to the where condition which will filter data before export.

Best regards,
Ivana Tomanickova

User avatar
Certified Developer 8
Certified Developer 8
Sharon - 9/20/2012 12:34:21 PM
   
RE:Adding a filter to the BizForm data listing page
Thanks Ivana, I'll give this a go.

Unfortunately, not possible to upgrade this project to version 6. And it's not a "must have", but when I read the blog post and tried it out (with a few minor modifications to the code) for the version 5.5R2 project, it's a very handy "nice to have" extra!