Versions Compared

Key

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

...

In all cases, the property expects a JSON string containing an array of filter objects. As a best practice, we recommend generating actual objects in your component's Javascript controller, and then converting them to a string using the JSON.stringify() method. For an example of how this would work on a Single Schedule calendar, see the code below.

Code Block
languagexml
themeFadeToGrey
titlecomponent Html
linenumberstrue
<aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global">
	<aura:attribute name="myFilters" type="String" />
	<aura:handler name="init" value="{!this}" action="{!c.doInit}" />
	<B25:scheduleWrapper
		recordId="{!v.recordId}"
		colors="B25__Colors__c"
		titles="Name,B25__Staff__r.Name"
		predefinedFilters="{!v.myFilters}">
	</B25:scheduleWrapper>
</aura:component>

...