Since the most recent update, I am not able to save my html code in the attribute table for an audio player.
I have a specific column set up for the html code for my audio player. Every polygon has it except the newest polygon I added. But when I go to add the html code I get an error shown in the image when I save. I haven't figured a way around it yet.
When I click okay, it clears my code. I am so sad. I had this working really well for our organization.
Anyone else experience this?
Solved! Go to Solution.
@LayerItOn I am not sure why your service changed, but this post has information about how to 'fix it' https://community.esri.com/t5/arcgis-data-interoperability-blog/writing-html-and-other-amp-lt-and-am...
This is a handy reference for getting a token to use for administrating your service. https://esriaustraliatechblog.wordpress.com/2022/09/01/faq-how-do-i-generate-an-authentication-token....
I did a repro of what you are experiencing, and found that setting xssPreventionEnabled to false, allow HTML to be entered.
Here is more information about the security setting https://enterprise.arcgis.com/en/server/10.9.1/administer/windows/best-practices-for-configuring-a-s...
How are you actually using the HTML in your attribute? If it is just for the popup, it might be better to do the HTML in the popup definition, and just put the URL in for the attribute. You could use Arcade in your popup definition to create the HTML for use in the Popup.
Is this an ArcGIS Online web layer or a file geodatabase feature class?
Hi! @Robert_LeClair It is an ArcGIS Online web layer that I have open in ArcGIS Pro to do the edits. This has been my methodology for this particular layer for the past year. Just experienced this error today though.
So one thing to try is to republish the layer to ArcGIS Online and see if this addresses the error messages.
@LayerItOn I am not sure why your service changed, but this post has information about how to 'fix it' https://community.esri.com/t5/arcgis-data-interoperability-blog/writing-html-and-other-amp-lt-and-am...
This is a handy reference for getting a token to use for administrating your service. https://esriaustraliatechblog.wordpress.com/2022/09/01/faq-how-do-i-generate-an-authentication-token....
I did a repro of what you are experiencing, and found that setting xssPreventionEnabled to false, allow HTML to be entered.
Here is more information about the security setting https://enterprise.arcgis.com/en/server/10.9.1/administer/windows/best-practices-for-configuring-a-s...
How are you actually using the HTML in your attribute? If it is just for the popup, it might be better to do the HTML in the popup definition, and just put the URL in for the attribute. You could use Arcade in your popup definition to create the HTML for use in the Popup.
You, my friend @MarkBockenhauer, are a life saver!! By switching the xssPreventionEnabled to false allowed me to enter in my html code again in the attribute table. Thank you so much for the help!