API Reference > presentation-components > Core > ContentDataProvider ContentDataProvider Class Base class for all presentation-driven content providers. Extended by PresentationPropertyDataProvider PresentationTableDataProvider Implements IContentDataProvider Methods Name Description constructor(props: ContentDataProviderProps): ContentDataProvider Constructor. configureContentDescriptor(descriptor: Readonly<Descriptor>): Descriptor Protected Called to configure the content descriptor. Deprecated dispose(): void Destructor. getContent(pageOptions?: PageOptions): Promise<undefined | Content> Get the content. getContentSetSize(): Promise<number> Get the number of content records. getDescriptorOverrides(): DescriptorOverrides Protected Get the content descriptor overrides. getFieldByPropertyRecord(propertyRecord: PropertyRecord): Promise<undefined | Field> Get field using PropertyRecord. invalidateCache(props: CacheInvalidationProps): void Protected Invalidates cached content. isFieldHidden(_field: Field): boolean Protected Called to check whether the field should be hidden. Deprecated shouldConfigureContentDescriptor(): boolean Protected Called to check whether the content descriptor needs advanced configuration. Deprecated shouldExcludeFromDescriptor(field: Field): boolean Protected Called to check whether the field should be excluded from the descriptor. Deprecated shouldRequestContentForEmptyKeyset(): boolean Protected Called to check if content should be requested even when keys is empty. Properties Name Type Description displayType Accessor ReadOnly string Display type used to format content getContentDescriptor Memoized<() => Promise<undefined | Descriptor>> Get the content descriptor. imodel Accessor IModelConnection IModel to pull data from keys Accessor KeySet Keys defining what to request content for pagingSize Accessor undefined | number Paging options for obtaining content. rulesetId Accessor string Id of the ruleset to use when requesting content selectionInfo Accessor undefined | SelectionInfo Information about selection event that results in content change Defined in presentation/components/src/presentation-components/common/ContentDataProvider.ts Line 145 Last Updated: 12 June, 2024