Show / Hide Table of Contents

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.
Inheritance
object
NewsFeedCTA
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
INewsFeedAgent

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
INewsFeedAgent

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
INewsFeedAgent

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
INewsFeedAgent

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
INewsFeedAgent

Methods

ToString()

Returns the carrier contents as a formatted string.

Declaration
public override string ToString()
Returns
Type Description
string

The carrier contents.

Overrides
object.ToString()
See Also
INewsFeedAgent

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.

See Also
INewsFeedAgent

See Also

INewsFeedAgent
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top