FAQ Q172: How can I display only selected resources in calendar preview?

You'll need to add a parameter to the URL of the iframe given to you in settings / integrate with my website / widgets / calendar preview. Then set the resource parameter to selected resources. The parameter in the calendar preview widget is called resfilter and it's value should be comma-separated resource IDs to be displayed, e.g. https://www.planyo.com/embed-calendar.php?calendar=11&resfilter=29,30 to display only resources with IDs 29 and 30.

You can also display only the resources which have a custom property set to a specific value. This lets you filter your resources by any criterium, for example, if you have a custom resource property called location, you can display all resources from New York by adding the following parameters to the calendar preview URL: &propfilter_name=location&propfilter_value=New York (use the underscore characters instead of spaces in the name, e.g. total_capacity instead of total capacity). Again, the easiest way to do this is ithe widget generator, simply set the resource parameter to property filter and set the condition.

Check out this FAQ question for other customizations of the calendar preview
Back to Frequently Asked Questions