We are having an issue where all our mapservices layer descriptions are enclosed in HTML tags like this:
Description: <DIV STYLE="text-align:Left;font-size:12pt"><P><SPAN>This layer comprises the findings ....
We cannot find a way how to disable this.
I think this started happening after upgrading to arcgis pro 2.8.1
We are using Arcgis porta/server 10.8.1
Anyone has any idea how to resolve this ?
I don't have too much information on this. But I can confirm that this behavior is expected. The workaround would be to remove the text in the description field prior to publishing. You can fill in the description on the portal item details through the web browser.
You can fill in the description on the portal item details through the web browser.
It's not the description for the portal item, it's about the description field for each layer in the map service.
I think the HTML tags are added to the description of each layer whenever the text contains new lines (example if you hit enter)
ArcGIS Pro should have an option to remove html tags before publishing.
We are also encounting this problem and haven't found a way to remove it. It's a problematic issue that is causing a mess in the GetCapabilities info of the hosted service.
<![CDATA[ <DIV STYLE="text-align:Left;font-size:12pt"><P><SPAN>
We have found an workaround for this issue which is unfortunately time consuming as every layer has to be updated with this method.
The workaround is to select the affected map or layer in the Catalog View and do an Export of the metadata to an xml file. We used the FGDC CSDGM format. Then do an Import for the same affected map / layer with the exported file and republish the service.
After this we could confirm that the issue with the HTML TAG disappeared from the map service.