Question
Represents a question in a zone that users can view and reply to.
Introduced in API version 17.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- This object is only available if the Answers permission and AnswersEnabled preference or PortalFeed permission and PortalFeedEnabled preference are enabled in your org.
- 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. Use the user interface to identify the best answer for a question.
- Relationship name: BestReply
- Relationship type: relationship
- Refers to: Reply
- Type: reference
- Properties: Filter, Group, Nillable, Sort, Update
- Introduced: API version 23.0
- Description: The ID of the user who selected the best answer to the question. In API version 24.0 through version 29.0, you must update this field using the UI. In API version 30.0 and later, you can update this field using the API.
- Relationship name: BestReplySelectedBy
- Relationship type: relationship
- Refers to: User
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Description of the question.
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort, Update
-
Introduced: API version 25.0
-
Relationship name: CertifiedReply
-
Relationship type: relationship
-
Refers to: Reply
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The zone ID associated with the question. After you create a question, you can’t change the zone ID associated with that question.
- Relationship name: Community
- Relationship type: masterdetail
- Refers to: Community
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 26.0
- Description: URL of the user’s profile photo from the feed. Chatter Answers must be enabled to view this field.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 26.0
- 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.
- Type: string
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 26.0
- Description: URL of the user’s thumbnail photo from the feed. Chatter Answers must be enabled to view this field.
-
Type: boolean
-
Properties: Defaulted on create, Filter, Group, Sort
-
Introduced: API version 25.0
-
Description:
Indicates whether the content of a Chatter Answers question is:
- Included in only one field:
Titleif the content is unformatted and less than 255 characters; orBodyif the content is formatted or more than 255 characters (true) - Included in two fields:
TitleandBody(false)
This field also determines if content displays in one or two fields in Chatter Answers question feeds.
- Included in only one field:
-
Default value: false
- Type: datetime
- Properties: Filter, Nillable, Sort
- Description: The date and time the last reply (child Reply object) was posted.
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: Read only. The ID of the last reply (child Reply object) posted to the question.
- Relationship name: LastReply
- Relationship type: relationship
- Refers to: Reply
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 24.0
- Description: The most number of user-reported abuses on a Reply associated with the question.
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Description: The number of replies (child Reply object) that users have submitted for the question.
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 24.0
- Description: Represents the number of user-reported abuses on the question.
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 23.0
- Description: Represents the number of users following the question.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 23.0
- Description: The source of the question, such as
Chatter Answers.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 23.0
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The descriptive title of the question.
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Introduced: API version 22.0
- Description: The total number of up votes for the question.
-
Type: double
-
Properties: Filter, Nillable, Sort
-
Introduced: API version 23.0
-
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 doesn’t display in the application user interface.
Unlike other fields of type double, you can’t use a SOQL aggregate function with this field.
Use this object to track questions in a zone.