You are looking at documentation for an older release. Not what you want? See the current release documentation.
The system will automatically create the Category Home node under the FAQ application node at the first
time the user launches application. All users-created categories are the sub-categories of Category Home. The
home of the Category node is automatically created in/exo:applications/faqApp/categories
.
In fact, Sub-category is also a category. FAQ has defined a mixin node type called mix:faqSubCategory to allow adding a node having the same type with category to an existing category. When a category is created, this mixin node type will be mixed to that category.
The node type exo:faqCategory has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The sub-category Id. |
exo:name | String | false | Name of the sub-category. |
exo:userPrivate | String | true | The list of user Ids that are restricted from the category. |
exo:description | String | false | The description of the sub-category. |
exo:isModerateQuestions | Boolean | false | The question post moderation status. All questions posted in the sub-category will have wait for moderation if the value is set to "true". |
exo:isModerateAnswers | Boolean | false | The answer post moderation status. All answers posted in the sub-category will have to wait for moderation if the value is set to "true". |
exo:isView | Boolean | false | The category is shown/hidden. The category will be shown if the value is set to "true". |
exo:viewAuthorInfor | Boolean | false | The category enables user to view the information of questions poster if the value is set to "true'. |
exo:moderators | String | true | The list of user ids who are the category moderator. |
exo:createdDate | Date | false | The time when the sub-category is created. |
exo:index | Long | false | The index number of the category. |
Each category has a RSS child node that stores a RSS feed representing all questions in this category as
the binary data type. The RSS node is stored in
/exo:applications/faqApp/categories/ks.rss
and its node type is exo:faqRSS.
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:content | Binary | false | The content of RSS. |
The Question Home node is created from the exo:faqQuestionHome node type that is defined as a child node
of category. This node cantains all question nodes that created in side a category. Only the Question node
type exo:faqQuestion can be added to the question Home. The Question Home node is created as a child node of
Categories /exo:applications/faqApp/categories/questions
.
Question node is created from exo:faqQuestion node type under the Question Home node. The Answers,
Comments and Attachments node are defined as child nodes of the Question node. The Question node is created
under the Question Home: /exo:applications/faqApp/categories/questions/%Question-id%
.
The exo:faqQuestion node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The question Id. |
exo:language | String | false | The language of the question. |
exo:name | String | false | The question details. |
exo:title | String | false | The question title. |
exo:author | String | false | The user Id of the question poster. |
exo:email | String | false | The email of the question author |
exo:isActivated | Boolean | false | The question status: activated/inactivated. The question is activated if the value is set to "true". |
exo:isApproved | Boolean | false | The state of the question: approved/unapproved. The question is approved to be published if the value is set to "true". |
exo:categoryId | String | false | The Id of the category containing the question. |
exo:createdDate | Date | false | The date and time when the question was submitted. |
exo:relatives | String | true | The list of the related questions Ids. |
exo:usersVote | String | true | The list of user Ids who voted. |
exo:markVote | Double | false | The average vote scores of the question. |
exo:topicIdDiscuss | String | false | The topic Id in the forum where the question is discussed. |
exo:nameAttachs | String | true | The file name of attachments in the question. |
exo:lastActivity | String | false | The user Id and time when the last activity of the question was made. |
exo:numberOfPublicAnswers | Long | false | The number of all posted answers that has been published. |
exo:link | String | false | The link to open the question. |
exo:responses | String | true | The responses of the question. |
exo:dateResponse | Date | true | The date when the question received the answer. |
exo:responseBy | String | true | The user Id of the answer poster. |
A question can support multilanguages, all other languages are stored as a child node of the question and can be add to the question via a mixin node type called mix:faqi18n. After the mixin node type mix:faqi18n is added to the question, the node type exo:questionLanguageHome can be added to the question node and this node type will contain all languages node with the node type exo:faqLanguage. All display properties of the question are defined in the node type exo:faqLanguage.
The node type exo:faqLanguage has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:language | String | false | The language of the question. |
exo:name | String | false | The name of the language. |
exo:title | String | false | The title of the question in the selected language. |
exo:questionId | String | false | The Id of the question. |
exo:categoryId | String | false | The Id of the category. |
The Answer, Comment and Attachment node is defined as the child nodes of the Question node. Attachment node is defined as a nt:file node type and stored right under the Question node. Answers and comments node are stored under the Answer home and the Comment home node.
The Answer node is stored in
/exo:applications/faqApp/categories/questions/%Question-id%/faqAnswerHome/%Answer-id%
and its node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The Id of the answer. |
exo:answerPath | String | false | The path to the answer. |
exo:questionId | String | false | The Id of the question. |
exo:categoryId | String | false | The Id of the category containing the question. |
exo:responses | String | false | The content of the answer. |
exo:dateResponse | Date | false | The date when the response was posted. |
exo:responseBy | String | false | The Id of the user who responded the answer. |
exo:responseLanguage | String | false | The language of the answer response. |
exo:approveResponses | Boolean | false | The response is pending for approval if the value is set to "false". |
exo:activateResponses | Boolean | false | The state of the answer: activated/deactivated . |
exo:usersVoteAnswer | String | true | The list of user Ids who voted for the answer. |
exo:MarkVotes | Long | false | The average vote scores of the answer. |
exo:postId | String | false | The post Id. |
exo:fullName | String | false | The answer author's full name. |
The Comment node is stored in
/exo:applications/faqApp/categories/questions/%Question-id%/faqCommentHome/%Comment-id%
and its node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:id | String | false | The comment Id. |
exo:comments | String | false | The comment contents. |
exo:dateComment | Date | false | The date when the comment is posted. |
exo:commentBy | String | false | The user Id of the comment poster. |
exo:postId | String | false | The Id of the post. |
exo:fullName | String | false | The full name of the comment poster. |
exo:categoryId | String | false | The Id of the category in which the comment is posted. |
exo:questionId | String | false | The Id of the question in which the comment is posted. |
exo:commentLanguage | String | false | The language of the comment. |
The Attachment node is stored in
/exo:applications/faqApp/categories/questions/%Question-id%/faqAttachment
and its node type has the following properties:
Properties name | Required type | Multiple | Description |
---|---|---|---|
exo:fileName | String | false | The name of the attachment file. |