> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NewsFeedItemCta table

> List of Calls-to-Action buttons to attach to a given news item. One item may have multiple CTAs (e.g. Approve + Reject).

## NewsFeedItemCta Table (508)

List of Calls-to-Action buttons to attach to a given news item. One item may have multiple CTAs (e.g. Approve + Reject).

## Fields

| Name                | Description                                                                                                                                                                                                                                 | Type                                    | Nullable |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- | :------: |
| newsfeeditemcta\_id | Primary key                                                                                                                                                                                                                                 | PK                                      |    No    |
| newsfeeditem\_id    | Foreign key to NewsFeedItem that this description belongs to.                                                                                                                                                                               | FK [NewsFeedItem](./newsfeeditem.mdx)   |    No    |
| SortOrder           | Sort order for the CTA buttons. CTAs with lower sort order should be rendered first.                                                                                                                                                        | Int                                     |    No    |
| Title               | The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'.                                                                                                          | String(400)                             |    No    |
| Identifier          | An identifier for the CTA, which will be sent back to the application when the user clicks the CTA button. E.g. 'approve\_button/234', 'reject/53fw1', '5235faq143='. Where to route is determined by the ApplicationId on the NewsFeedItem | String(1000)                            |    No    |
| CtaType             | The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link                                                                                                                                                    | Enum [CtaType](./enums/ctatype.mdx)     |    No    |
| CtaFlavor           | The flavor of the CTA, which determines the style/color/icon the CTA button renders with. Info/Warning/Error/Accept/Reject                                                                                                                  | Enum [CtaFlavor](./enums/ctaflavor.mdx) |    No    |

<img src="https://mintcdn.com/superofficeas/zNQa3AO19PFK63SB/media/loc/en/database/tables/NewsFeedItemCta.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=d103e11f059ac1a8a37c455ff2a6bba8" alt="NewsFeedItemCta table relationship diagram" width="523" height="59" data-path="media/loc/en/database/tables/NewsFeedItemCta.png" />

## Indexes

| Fields                      | Types   | Description |
| --------------------------- | ------- | ----------- |
| newsfeeditem\_id, SortOrder | FK, Int | Unique      |

## Relationships

| Table                          | Description                                                                                       |
| ------------------------------ | ------------------------------------------------------------------------------------------------- |
| [NewsFeedItem](./newsfeeditem) | Contains news feed items - published to one or more users, with one or more language descriptions |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [NewsFeedItem table](/en/database/tables/newsfeeditem.md)
- [NewsFeedItemRecipient table](/en/database/tables/newsfeeditemrecipient.md)
- [NewsFeedItemHtml table](/en/database/tables/newsfeeditemhtml.md)
- [What's new in version 12.3.2195.0](/release-notes/database/changelog.md)
- [What's new in version 12.2.2072.0](/release-notes/database/changes-12.2.2072.md)
- [Enum values for CtaFlavor](/en/database/tables/enums/ctaflavor.md)
