# How to configure Column Data Source

Select a column (click on its header). Go to "Data" section of column properties at the right sidebar and click on link "edit".

<img src="/files/gXsABNAogCDp9UOd3Eq1" alt="" class="gitbook-drawing">

Column Data Source config dialog popup will open. Select "Data Source Type":

<img src="/files/ueFjyd5r0IILoFKzQY4b" alt="" class="gitbook-drawing">

### SObject Data Source

"SObject" Data Source is preselected:

<img src="/files/r5GZ5GqSqy0GrCupUH8A" alt="" class="gitbook-drawing">

Select Data Source. When you select data source additional fields will be displayed:

* **"Order"** picklist contains fields of chosen data source object. This option helps you to sort cards in column.
* Check **"Ignore Permissions"** checkbox to show all cards in column (in spite of user's account permissions).
* **"Page Size"** is number of cards shown in a column by default and additionally loaded per each scroll (one page).
* **"Preload Pages"** is number of pages that are loaded by system automatically one by one. Loading progress will be indicated with a spinner around the badge showing number of cards:

<img src="/files/KdTG042sX4xYn3C5Su6l" alt="" class="gitbook-drawing">

{% hint style="success" %}
reload several pages with small number of cards per each can save server resources (Salesforce limits) and can be useful when internet connection is slow.
{% endhint %}

When you select data source additional tabs will be displayed:

* Conditions&#x20;
* Related Objects
* Push Topics

### Conditions

To configure condition for current column click "Add Condition". Row with new condition form will be shown. Click <img src="/files/1mCMaNBWkZuyNFfgwyYq" alt="" data-size="line"> button:

<img src="/files/Jh5PKiqoUPKmAkN8IFYb" alt="" class="gitbook-drawing">

Click <img src="/files/8Oh9X6w0H1ljylXb0fMH" alt="" data-size="line"> icon to open "Select Field" dialog popup. Choose field and click "Apply":

<img src="/files/ZPLFksDCIgApG7kKLJtL" alt="" class="gitbook-drawing">

After it you can select "Operator", "Type" and "Value" for condition. To copy, paste and apply conditions JSON click the proper button (for one condition, for all conditions).

<img src="/files/3XPvPfkekYhVrCVz1msx" alt="" class="gitbook-drawing">

<img src="/files/cVZRcULOt1v0v9c8K6M1" alt="" class="gitbook-drawing">

Configure "Logic" if needed:

<img src="/files/ZyIeGjF6i4CVtSQi6xKC" alt="" class="gitbook-drawing">

{% hint style="success" %}
Logic "All conditions combined with AND operators" will be applied by default if not configured.
{% endhint %}

### Related Objects

Configure [Related Objects](/standard-kanban/configure-column/how-to-work-with-related-objects.md) if necessary:

<img src="/files/3aboGaBAnbgzEBRJPdQU" alt="" class="gitbook-drawing">

### Apex Class Data Source

In some cases Apex Class should be required - e.g., when records from several objects need to be shown.

* Select "Apex Class" as Data source type
* Find necessary Apex Class in the proper lookup. Note, that your organization should have necessary Apex Classes deployed
* Set parameters for this class in JSON format

<img src="/files/m5SZwaQkXcqX39Yoas53" alt="" class="gitbook-drawing">

### Push Topics

{% hint style="info" %}
Push Topics allow system generate special push notifications when some fields in some object records are created and/or updated.

Push Topics are created globally, so, they can be subscribed by any other columns in any dashboard.

Push technology, also called the publish/subscribe model, transfers information that is initiated from a server to the client. It will help you to follow the changes in this column.
{% endhint %}

<img src="/files/eoWwLIrjlStKgFwHju65" alt="" class="gitbook-drawing">

**To create a Push topic** click "Create Push Topic" button and set Name, Query and necessary notifications:

<img src="/files/mq9OcF2xgKtI7DLSiwjR" alt="" class="gitbook-drawing">

* Query should be written in SOQL syntax. List fields which changes you want to subscribe to.
* Check proper checkboxes to push notifications on records creation and/or update.

**To subscribe to existing Push topic** click "Subscribe on Push Topic" button.

<img src="/files/jxtmJW2a2i0SOh6gb6tu" alt="" class="gitbook-drawing">

* Select Push Topic in lookup.
* Select "Source ID Field" from the  Push Topic source object, that represents the column source object record ID,
* choose  period "How to handle events",
* select behavior of "Card compact layout" and "Card Layout".

{% hint style="info" %}
Behavior of **Card Layout** can be:

* Hide - if any card layout has been opened, it will be closed
* Refresh - if any card layout has been opened, it will be refreshed
* Not selected - nothing will happen.
  {% endhint %}

{% hint style="warning" %}
Currently behavior of **Card Compact Layout** can be "Refresh" only.
{% endhint %}

As soon as a Push Topic is configured, the system starts evaluating record creates, updates, deletes, and undeletes for matches. Whenever there’s a match, a new notification is generated.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flexikanban.ai/standard-kanban/configure-column/how-to-configure-column-data-source.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
