> For the complete documentation index, see [llms.txt](https://docs.sharinpix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sharinpix.com/documentation/features/search-images/your-salesforce-filters.md).

# Your Salesforce Filters

## Why Affix Filters ?

* The affix filters can prove to be useful in the event you are using special album IDs on Objects, for instance, an object that contains two albums with Ids **\<ObjectID>\_Req** and **\<ObjectID>\_Other** to distinguish between images that are required and other images irrelevant images respectively, you may make use of the Affixes section to filter those images from the Search results.

## How to define Affixes for SharinPix Search

* Affixes are either prefixes or suffixes that are attached to Salesforce Object Ids retrieved from reports used for searching images. For instance, creating a prefix with value "**User\_** " and using it in search will perform a search on **IDs** prefixed with it, i.e, "0030Y00000AKAUl" will become "User\_0030Y00000AKAUl".
* To create an affix:
  * In **Salesforce Classic Experience**: Go to **Setup** > **Build** > **Develop** >**Custom Metadata Types**
  * **In Salesforce Lightning Experience:** In the **Quick Find** box, enter **Custom Metadata Types**
* Click on **Manage Records**, next to SharinPix Search Affix (as shown in the screenshot below).

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2FbeqLnaDIbLOtSj1jvln1%2FImage%20from%20Gradio%20(26).png?alt=media&amp;token=a8270449-56d3-4d1c-bfcc-2ddf1c4de90c" alt=""><figcaption></figcaption></figure>

* Click on **New** to create a new prefix or suffix.
* The Label field is the text displayed on the SharinPix Image Search form; the Affix Type is whether the Affix Value entered should be prefixed (prepended) or suffixed (appended) to the ID. The Affix Type should either be "Prefix" or "Suffix". Affix Value is the actual value that is affixed to the ID; this will be used as is.
* To set an initial value on the Search form, check or uncheck the **Initial value on SharinPix Search form**.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2F3nPzntX2jGSY3fRTDY9V%2FImage%20from%20Gradio%20(27).png?alt=media&amp;token=609257b2-2b6f-42bc-a750-d80719610b9c" alt=""><figcaption></figcaption></figure>

* Set the Affix Value as required.
* Click on **Save** when you are done.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sharinpix.com/documentation/features/search-images/your-salesforce-filters.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
