URLs in Access Notice

638
5
05-26-2022 02:46 PM
Thomas_Z2
New Contributor III

We have a ArcGIS Enterprise Base Deployment in-house. Why can't I add another URL other than arcgis.com and esri.com?

I can't even add an URL in plain text. This does not make sense at all and is mildly said absurd and unusable.

How can I add a link pointing to an internal server?

thozub_dal_0-1653601260290.png

 

0 Kudos
5 Replies
Brian_Wilson
Occasional Contributor III

Can you show what you are putting in the "Notice text" box?

0 Kudos
Thomas_Z2
New Contributor III

If I add a HTML tag like this:

<a href="https://gis.servername.com" target="_blank">Link<a>

There won't be an error but it replace the tag with this:

<a href='' rel='nofollow ugc' target=''>Link</a>

thozub_dal_2-1653603420975.png

thozub_dal_0-1653603123367.png

(I can't wrap my head around how someone can come up with the idea to sanitize HTML from an input field which is filled out by an administrator... but it seems Esri can.)

If I add https://gis.servername.com without a HTML tag, then I get the error shown in my question.

thozub_dal_1-1653603265525.png

BTW we are using Portal for ArcGIS 10.9.1

0 Kudos
Brian_Wilson
Occasional Contributor III

Okay WOW you hit a weird one there. Esri clearly has a lot of summer interns work on their code. It's the only logical premise I have ever come up with. You can't get software like this for free!! You have to pay top dollar for it.

I put in an anchor with quotes it removes it -- no error reported!

They could just use the editor I am working with right now into that page, right, I mean they let me put links in there? Using the HTML mode I can add  a link

 

<a href="https://arcgis.com/">apps</a>

is turned into

<a href='' rel='nofollow ugc'>apps</a>

 

They do that sanitize thing in map viewer popups too. It's even more infuriating there. There are "forbidden" tags like an iframe or an anchor <a href=""></a>and if you use one, it simply throws away your code when you save. No warning. Just deletes what it does not like. 

I bet we can find the file it stores that text in on the server and edit it there... I am going to look for it.

If you put text in, and disable, it erases the entire Notice text, poof!

 

0 Kudos
Brian_Wilson
Occasional Contributor III

I could not find the file. Possibly it's writing the text into its secret internal PostgreSQL server.

0 Kudos
Thomas_Z2
New Contributor III

@Brian_WilsonThank you that you looked into this.

0 Kudos