Skip to main content

I'm transferring data from an ESRI Geodatabase to ERSI AGOL cloud. One of the attributes in my feature is a string field that contains html text. When I run the workbench I get the following error message:

ArcGIS Online Feature Service Writer: Encountered an unexpected error. The error code from the server was '400' and the message was: ''. Details: 'Field DESC4 has invalid html content.'

An exampe of the string that is being transferred is

Here is a video with more information on this project: <a href="https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17" target="_blank">Ripple.</a>

If I remove the two '=' in the href portion of the html. The data is successfully loaded into AGOL. However without those the link does not work.

Anyone have ideas as to how get this data into AGOL?

Hi @tgroeneveld,

 

I was able to successfully update a hosted table with the URL specified, if I removed the space between 17" and target :

 

https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17"target="_blank">Ripple

 

 

Does this work for you?

 

,

Hi @tgroeneveld,

I was able to successfully update a hosted table with the URL specified, if I removed the space between 17" and target :

https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17"target="_blank"Ripple

 

Does this work for you?


Hi @tgroeneveld,

I was able to successfully update a hosted table with the URL specified, if I removed the space between 17" and target :

https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17"target="_blank"Ripple

 

Does this work for you?

What we are attempting to do is actually have html text in the attribute. I see above when I pasted the string I'm transferring in my original question, the browser of course is interpreting the html. The data I'm attempting to transfer is:

 

 

Here is a video with more information on this project: |less than symbol|a href="https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17" target="_blank">Ripple.|less than symbol|/a>

 

 

What we might have to do instead is just have the url in the attribute and the AGOL popup will need to create the readable link.

 

 


What we are attempting to do is actually have html text in the attribute. I see above when I pasted the string I'm transferring in my original question, the browser of course is interpreting the html. The data I'm attempting to transfer is:

 

 

Here is a video with more information on this project: |less than symbol|a href="https://www.youtube.com/watch?v=Kkce_ySK5Cs#t=17" target="_blank">Ripple.|less than symbol|/a>

 

 

What we might have to do instead is just have the url in the attribute and the AGOL popup will need to create the readable link.

 

 

 

Hi @tgroeneveld,

 

 

Ah, I see what you mean. In that case, I believe you are correct in that the URL may need to be in the attribute, with AGOL populating the correct link in a pop-up (perhaps something similar to this : https://blogs.esri.com/esri/arcgis/2016/08/24/url-parameters-in-pop-ups/)

Reply