Category filter using button

Hello everyone,

I need help in filtering blog posts using category. I used a button and was trying out the Show list functionality in the workflow but it doesn’t seem to accept the Category name I’m putting in


Hope someone could help! Thank you!

There are a few reasons this could be happening and likely due to your category being text. There are a few best practices which would make your app more reliable.

I suggest you do the following:

  1. Set up an option set called Category and add each of the possible options.
  2. Add a custom state to your page called something like “selectedCategory”.
  3. Add workflow actions for each button to set selectedCategory = the button’s option.
  4. Don’t use the Display list workflow action. Rather within the RG’s data source, just include a constraint for “Category = Your page’s selectedCategory”. and make sure to check “Ignore empty constraints”.
2 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.