---
schema_version: "1"
id: d63df2adbbd14a4750c9e097d8a87cfbafc631ac3964d303e90388d7f9e4b1ed
title: chatteranswers:searchask
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/salesforce-pages-developers-guide/guides/pages/components/pages-compref-chatteranswers-searchask.md
canonical_url: https://developer.salesforce.com/docs/platform/salesforce-pages-developers-guide/guide/pages-compref-chatteranswers-searchask.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 852d8da1f776584f1dd240a2a96ee1c4d510862069aaa0457d98414399571bf5
products:
  - Visualforce Developer Guide
  - Platform Developer Content
---

# chatteranswers:searchask

Search bar and button that lets users search for questions and articles and ask questions within a zone. Use with other Chatter Answers components to create a customized experience for your Chatter Answers users.

## Example

This example displays the Chatter Answers searchask component.

```visualforce

            <apex:page showHeader="true">
                <chatteranswers:searchask communityId="09axx00000000HK"/>
            </apex:page>


```

## Attributes

| Attribute Name   | Attribute Type | Description                                                                                                                  | Required? | API Version | Access |
| ---------------- | -------------- | ---------------------------------------------------------------------------------------------------------------------------- | --------- | ----------- | ------ |
| `communityId`    | string         | Zone in which to display the feed.                                                                                           | Yes       | 29.0        |        |
| `id`             | String         | An identifier that allows the component to be referenced by other components in the page.                                    |           | 14.0        | global |
| `noSignIn`       | Boolean        | A flag that disables the sign-on option for the feed.                                                                        |           | 29.0        |        |
| `rendered`       | Boolean        | A Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. |           | 14.0        | global |
| `searchLanguage` | String         | The language in which the articles must be retrieved.                                                                        |           | 29.0        |        |
| `useUrlRewriter` | Boolean        | A flag that rewrites URLs based on the Sites URL Rewriter.                                                                   |           | 29.0        |        |
