Class NewsFeedItemCtaRecordData
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the NewsFeedItemCta table.
Inherited Members
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class NewsFeedItemCtaRecordData
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Constructors
NewsFeedItemCtaRecordData()
POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the NewsFeedItemCta table.
Declaration
public NewsFeedItemCtaRecordData()
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Fields
CtaFlavor
The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
Declaration
public CtaFlavor CtaFlavor
Field Value
| Type | Description |
|---|---|
| CtaFlavor |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
CtaType
The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link
Declaration
public CtaType CtaType
Field Value
| Type | Description |
|---|---|
| CtaType |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
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
Declaration
public string Identifier
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NewsFeedItemCtaId
Primary key
Declaration
public int NewsFeedItemCtaId
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
NewsfeeditemId
Foreign key to NewsFeedItem that this description belongs to.
Declaration
public int NewsfeeditemId
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
SortOrder
Sort order for the CTA buttons. CTAs with lower sort order should be rendered first.
Declaration
public int SortOrder
Field Value
| Type | Description |
|---|---|
| int |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.
Title
The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'.
Declaration
public string Title
Field Value
| Type | Description |
|---|---|
| string |
Remarks
Please use this class instead of a full NewsFeedItemCtaRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding NewsFeedItemCtaTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.