Class NewsFeedCTA
News feed CTAs are created by agents or other services for display on the start page and other relevant places in the UI.
Carrier object for NewsFeedCTA. Services for the NewsFeedCTA Carrier is available from the NewsFeed Agent.Inherited Members
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/12.2.0.0")]
public class NewsFeedCTA
Constructors
NewsFeedCTA()
Default constructor
Declaration
public NewsFeedCTA()
See Also
Properties
CtaFlavor
The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject
Declaration
[DataMember]
public virtual CtaFlavor CtaFlavor { get; set; }
Property Value
| Type | Description |
|---|---|
| CtaFlavor |
See Also
CtaType
The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link
Declaration
[DataMember]
public virtual CtaType CtaType { get; set; }
Property Value
| Type | Description |
|---|---|
| CtaType |
See Also
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
[DataMember]
public virtual string Identifier { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Title
The title of the CTA button. E.g. 'Approve', 'Reject', 'View details'. Multi-language string supported: 'US:"english";NO:"norsk"'.
Declaration
[DataMember]
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
Overrides
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |