forest-preceding the field name is required.
belongsTorelationship works in exactly the same way as accessing a simple field. Forest triggers automatically an API call to retrieve the data from your Admin API only if it’s necessary.
ShippingSmart View (in the collection named
Order) defined on our Live Demo example, we’ve displayed the full name of the customer related to an order.
hasManyrelationship works in exactly the same way as accessing a simple field.. Forest triggers automatically an API call to retrieve the data from your Admin API only if it’s necessary.
fetchRecordsaction in order to refresh the records on the page.
storeservice for that purpose. Check out the list of all available services from your Smart View.
CalendarSmart View. When you click on the previous or next month, the Smart View fetches the new events in the selected month. The result here is set to the property
appointments. You can access it directly from your template.
field: <a field name>
operator: <an operator name>
value: <a value>
aggregator: <and or or>
conditions: <an array of filters or aggregations>
deleteRecordsaction lets you delete one or multiple records. A pop-up will automatically ask for a confirmation when a user triggers the delete action.
triggerSmartActionfunction imported from
'client/utils/smart-view-utils'has the following signature:
collectionthat has the Smart Action