Question

Represents a question in a community that users can view and reply to.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
BestReplyId
Type
reference
Properties
Filter, Group, Nillable, Sort, Update
Description
The ID of the Reply that has been identified as the best answer to the question. You must use the user interface to identify the best answer for a question.
BestReplySelectedById
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The ID of the User who selected the best answer to the question.

This field is available in API version 24.0 and later. In API version 24.0 through version 29.0, you must update this field using the UI. In API version30.0 and later, you can update this field using the API.

Body
Type
textarea
Properties
Create, Nillable, Update
Description
Description of the question.
CommunityId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The zone ID associated with the question. Once you create a question, you can’t change the zone ID associated with that question.
CreatorFullPhotoUrl
Type
string
Properties
Filter, Group, Nillable, Sort
Description

URL of the user’s profile photo from the feed. Chatter Answers must be enabled to view this field. This field is available in API version 26.0 and later.

CreatorName
Type
string
Properties
Filter, Group, Nillable, Sort
Description

Name of the user who posted the question or reply. Only the first name of internal users (agents) appears to portal users in the feed. Chatter Answers must be enabled to view this field. This field is available in API version 26.0 and later.

CreatorSmallPhotoUrl
Type
string
Properties
Filter, Group, Nillable, Sort
Description

URL of the user’s thumbnail photo from the feed. Chatter Answers must be enabled to view this field. This field is available in API version 26.0 and later.

HasSingleFieldForContent
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
Indicates whether the content of a Chatter Answers question is:
  • Included in only one field: Title if the content is unformatted and less than 255 characters; or Body if the content is formatted or more than 255 characters (true)
  • Included in two fields: Title and Body (false)

This field also determines if content displays in one or two fields in Chatter Answers question feeds.

This field is available in API version 25.0 and later.

LastReferencedDate
Type
date
Properties
Filter, Nillable, Sort, Update
Description
The timestamp for when the current user last viewed a record related to this record.
LastReplyDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date and time the last reply (child Reply object) was posted.
LastReplyId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
Read only. The ID of the last reply (child Reply object) posted to the question.
LastViewedDate
Type
date
Properties
Filter, Nillable, Sort, Update
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
MostReportAbusesOnReply
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The most number of user-reported abuses on a Reply associated with the question.

This field is available in API version 24.0 and later.

NumReplies
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The number of replies (child Reply object) that users have submitted for the question.
NumReportAbuses
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Represents the number of user-reported abuses on the question.

This field is available in API version 24.0 and later.

NumSubscriptions
Type
int
Properties
Filter, Group, Nillable, Sort
Description
Represents the number of users following the question.

This field is available in API version 24.0 and later.

Origin
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The source of the question, such as Chatter Answers.

This field is available in API version 24.0 and later.

Title
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The descriptive title of the question.
UpVotes
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The total number of up votes for the question.
VoteScore
Type
double
Properties
Filter , Nillable, Sort
Description
The internal score of the question, used to sort questions and articles on the Popular tab in the application user interface. The internal algorithm that determines the score gives older votes less weight than newer votes, simulating exponential decay. The score itself does not display in the application user interface.
Note
Unlike other fields of type double, you can't use a SOQL aggregate function with this field.

Usage

Use this object to track questions in azone.

© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.