# observe\_pivot\_fields/3

Source: https://zotonic.com/docs/1517/observe_pivot_fields-3

URI: https://zotonic.com/id/1517

Language: en



Foldr to change or add pivot fields for the main pivot table. The rsc contains all rsc properties for this resource, including pivot properties. Fold with a map containing the pivot fields.

Type:

[foldl](/id/doc_developerguide_notifications#notification-foldl)

Return:

`#pivot_fields{}` properties:

- id: `m_rsc:resource_id()`
- raw\_props: `m_rsc:props()`

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1517?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1517?language=en>)
