The Answers portlet is the application to create answers, reply and manage questions.

{docbook}
<para>
<citetitle>
<emphasis role="bold">
Package
</emphasis>
</citetitle>
</para>
{docbook}
This portlet is packaged in the _faq.war_ file.


{docbook}
<para xml:id="KSref.AnswerPortlet.AnswerPortletxml">
<citetitle>
<emphasis role="bold">
Portlet.xml
</emphasis>
</citetitle>
</para>
{docbook}

* See the _portlet.xml_ file in the project following this path: _/webapps/faq/WEB-INF/portlet.xml_.


{docbook}
<para xml:id="KSref.AnswerPortlet.AnswerPortletPreferences">
<citetitle>
<emphasis role="bold">
Portlet Preferences
</emphasis>
</citetitle>
</para>
{docbook}

The Answers portlet consists of preferences as follows:

|| Preference name || Possible value || Default value || Description ||
| *enableViewAvatar* | {{true}}, {{false}} | {{true}} | Enable users to view the avatar of owner posting the question. |
| *enableAutomaticRSS* | {{true}}, {{false}} | {{true}} | Enable users to get RSS automatically. |
| *enableVotes AndComments* | {{true}}, {{false}} | {{true}} | Enable users to give votes and comments for the question.|
| *enableAnonymous SubmitQuestion* | {{true}}, {{false}} | {{true}} | Enable anonymous users to submit questions. |
| *display* | {{approved}}, {{both}} | {{both}} | Enable administrators to view unapproved questions in the questions list in UIQuestions. |
| *SendMailAdd NewQuestion* | {{string}} | {{empty}} | Display the content of sent email when a new question is added. |
| *SendMailEdit ResponseQuestion* | {{string}} | {{empty}} | Display the email content when a response is edited. |
| *emailMoveQuestion* | {{string}} | {{empty}} | Display the email content when a question is moved. |
| *orderBy* | {{alphabet}}, {{created}} | {{alphabet}} | Arrange questions in the alphabet or created date order. |
| *orderType* | {{asc}}, {{desc}} | {{asc}} | Display questions in the ascending or descending order. |
| *isDiscussForum* | {{true}}, {{false}} | {{false}} | Enable the DiscussQuestions function. |
| *idNameCategoryForum* | {{CategoryName, {{ForumName}} | {{empty}} | Select categories and forums for the DiscussionQuestions function. |
| *uploadFileSizeLimitMB* | {{integer}} | {{20}}| Set the maximum size of uploaded files in MB. |