Update Allowed HTML Styles¶
Alation Cloud Service Applies to Alation Cloud Service instances of Alation
Customer Managed Applies to customer-managed instances of Alation
Note
Alation Cloud Service customers can request server configuration changes through Alation Support.
Rich Text Fields on Alation catalog pages support a limited number of HTML styles. The New User Experience includes an expanded list of styles. The full list of supported styles is contained in the alation_conf parameter alation.catalog.rich_text.allowed_html.styles
. If you need to update your list of HTML styles, do the following:
Use SSH to connect to the Alation server.
Enter the Alation shell using the following command:
sudo /etc/init.d/alation shell
Using alation_conf, query for the current set of allowed HTML styles:
alation_conf alation.catalog.rich_text.allowed_html.styles
You should see output similar to the following:
alation.catalog.rich_text.allowed_html.styles = ['width', 'height', 'list-style-type', 'margin', 'margin-left', 'margin-right', 'margin-top', 'margin-bottom', 'border', 'border-color', 'border-width', 'border-style', 'overflow', 'vertical-align', 'visibility']
Copy the list and add or remove items as desired; for full functionality of the New User Experience, include the following styles:
'color', 'text-align', 'font-size', 'background-color', 'margin-left'
.Call alation_conf again to reset the allowed HTML styles. The full list must be enclosed in double quotes (”) when passing to alation_conf:
alation_conf alation.catalog.rich_text.allowed_html.styles -s "['background-color', 'color', 'font-size', 'width', 'height', 'list-style-type', 'margin', 'margin-left', 'margin-right', 'margin-top', 'margin-bottom', 'border', 'border-color', 'border-width', 'border-style', 'overflow', 'vertical-align', 'visibility']"
Restart the Alation user interface:
alation_supervisor restart web:uwsgi
Exit the shell:
exit