Enabling Global search to remove HTML tags from search results
To update Global search to remove HTML tags from search results
- Open Developer Studio.
Open the following forms in Progressive View, and in the Properties tab, set the Database > Strip Tags for FTS property to True.
Form name
Field ID
Field Name
HPD:Help Desk
1000000151
Detailed description
WOI:WorkOrder
1000000151
Detailed description
CHG:Infrastructure Change
1000000151
Detailed description
You can set the Database > Strip Tags for FTS fields to True for any field where rich text is enabled and you want the HTML tags to be removed from those fields.
- Flush the cache in Mid Tier.
- Open the Cache Settings page in the MidTier - Configuration Tool.
http://<MidtierHostName>:PortNumber>/arsys/shared/config/config_cache.jsp - Click Flush Cache.
A message dialog opens asking for confirmation. - Click OK.
- Open the Cache Settings page in the MidTier - Configuration Tool.
- Reindex the form in the server group console.
Validate the changes
- Log into Smart IT.
- Create a new ticket and add text with HTML tags or add formatting to the text using the text editing tools.
- Save the ticket.
- Copy the display ID of the ticket and add it to the Global search field and click Search.
- The search results should display the ticket contents without HTML tags.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*