Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Changing the shown resources and events on the fly can also help you to define presets for particular use cases or users, all on a single page that can be triggered by Mendix logic. For example, if you want to view resources and events related to a specific section of your business on the fly from a dropdown.

Info

For an example see: search in events and resources

Implementation

...

There are multiple ways to create a custom search functionality. One simple approach is to add a search attribute to the scheduler context for both events and resources. After that, you can create a data source microflow or nanoflow for your resources and events, which uses this attribute in an xpath query. To illustrate, for events, the xpath query may look something like this:

...