NewsFeedItemCta Table (507)
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
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 | Null |
|---|---|---|---|
| newsfeeditemcta_id | Primary key | PK | |
| newsfeeditem_id | Foreign key to NewsFeedItem that this description belongs to. | FK NewsFeedItem | |
| SortOrder | Sort order for the CTA buttons. CTAs with lower sort order should be rendered first. | Int | |
| Title | The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'. | String(400) | |
| 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(200) | |
| CtaType | The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link | Enum CtaType | |
| CtaFlavor | The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject | Enum CtaFlavor |

Indexes
| Fields | Types | Description |
|---|---|---|
| newsfeeditem_id, SortOrder | FK, Int | Unique |
Relationships
| Table | Description |
|---|---|
| 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.