
## SlicerCache class

Represent summary description of slicer cache

```javascript
class SlicerCache;
```


## Properties

| Property | Type | Description |
| --- | --- | --- |
| [crossFilterType](#crossFilterType--)| SlicerCacheCrossFilterType | Indicates how to show items with no data of slicer. |
| [list](#list--)| boolean | Readonly. Indicates whether the slicer associated with the specified slicer cache is based on an Non-OLAP data source. |
| [slicerCacheItems](#slicerCacheItems--)| SlicerCacheItemCollection | Readonly. Returns a SlicerCacheItem collection that contains the collection of all items in the slicer cache. Read-only |
| [name](#name--)| string | Readonly. Returns the name of the slicer cache. |
| [sourceName](#sourceName--)| string | Readonly. Returns the name of this slicer cache. |

## Methods

| Method | Description |
| --- | --- |
| [getCrossFilterType()](#getCrossFilterType--)| <b>@deprecated.</b> Please use the 'crossFilterType' property instead. Indicates how to show items with no data of slicer. |
| [setCrossFilterType(SlicerCacheCrossFilterType)](#setCrossFilterType-slicercachecrossfiltertype-)| <b>@deprecated.</b> Please use the 'crossFilterType' property instead. Indicates how to show items with no data of slicer. |
| [getList()](#getList--)| <b>@deprecated.</b> Please use the 'list' property instead. Indicates whether the slicer associated with the specified slicer cache is based on an Non-OLAP data source. |
| [getSlicerCacheItems()](#getSlicerCacheItems--)| <b>@deprecated.</b> Please use the 'slicerCacheItems' property instead. Returns a SlicerCacheItem collection that contains the collection of all items in the slicer cache. Read-only |
| [getName()](#getName--)| <b>@deprecated.</b> Please use the 'name' property instead. Returns the name of the slicer cache. |
| [getSourceName()](#getSourceName--)| <b>@deprecated.</b> Please use the 'sourceName' property instead. Returns the name of this slicer cache. |
| [isNull()](#isNull--)| Checks whether the implementation object is null. |


### crossFilterType {#crossFilterType--}

Indicates how to show items with no data of slicer.

```javascript
crossFilterType : SlicerCacheCrossFilterType;
```


**Remarks**

NOTE: This member is now obsolete. Instead, please use [Slicer.ShowTypeOfItemsWithNoData](../slicer.showtypeofitemswithnodata/) property. This property will be removed 12 months later since January 2026. Aspose apologizes for any inconvenience you may have experienced.

### list {#list--}

Readonly. Indicates whether the slicer associated with the specified slicer cache is based on an Non-OLAP data source.

```javascript
list : boolean;
```


### slicerCacheItems {#slicerCacheItems--}

Readonly. Returns a SlicerCacheItem collection that contains the collection of all items in the slicer cache. Read-only

```javascript
slicerCacheItems : SlicerCacheItemCollection;
```


### name {#name--}

Readonly. Returns the name of the slicer cache.

```javascript
name : string;
```


### sourceName {#sourceName--}

Readonly. Returns the name of this slicer cache.

```javascript
sourceName : string;
```


### getCrossFilterType() {#getCrossFilterType--}

<b>@deprecated.</b> Please use the 'crossFilterType' property instead. Indicates how to show items with no data of slicer.

```javascript
getCrossFilterType() : SlicerCacheCrossFilterType;
```


**Returns**

[SlicerCacheCrossFilterType](../slicercachecrossfiltertype/)

**Remarks**

NOTE: This member is now obsolete. Instead, please use [Slicer.ShowTypeOfItemsWithNoData](../slicer.showtypeofitemswithnodata/) property. This property will be removed 12 months later since January 2026. Aspose apologizes for any inconvenience you may have experienced.

### setCrossFilterType(SlicerCacheCrossFilterType) {#setCrossFilterType-slicercachecrossfiltertype-}

<b>@deprecated.</b> Please use the 'crossFilterType' property instead. Indicates how to show items with no data of slicer.

```javascript
setCrossFilterType(value: SlicerCacheCrossFilterType) : void;
```

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [SlicerCacheCrossFilterType](../slicercachecrossfiltertype/) | The value to set. |

**Remarks**

NOTE: This member is now obsolete. Instead, please use [Slicer.ShowTypeOfItemsWithNoData](../slicer.showtypeofitemswithnodata/) property. This property will be removed 12 months later since January 2026. Aspose apologizes for any inconvenience you may have experienced.

### getList() {#getList--}

<b>@deprecated.</b> Please use the 'list' property instead. Indicates whether the slicer associated with the specified slicer cache is based on an Non-OLAP data source.

```javascript
getList() : boolean;
```


### getSlicerCacheItems() {#getSlicerCacheItems--}

<b>@deprecated.</b> Please use the 'slicerCacheItems' property instead. Returns a SlicerCacheItem collection that contains the collection of all items in the slicer cache. Read-only

```javascript
getSlicerCacheItems() : SlicerCacheItemCollection;
```


**Returns**

[SlicerCacheItemCollection](../slicercacheitemcollection/)

### getName() {#getName--}

<b>@deprecated.</b> Please use the 'name' property instead. Returns the name of the slicer cache.

```javascript
getName() : string;
```


### getSourceName() {#getSourceName--}

<b>@deprecated.</b> Please use the 'sourceName' property instead. Returns the name of this slicer cache.

```javascript
getSourceName() : string;
```


### isNull() {#isNull--}

Checks whether the implementation object is null.

```javascript
isNull() : boolean;
```



