Select to view content in your preferred language

Links to wikipedia are correct but the page does not open

1134
1
Jump to solution
11-30-2020 07:17 AM
LMBaptista
Frequent Contributor

Hi.

I'm using a customized attribute in pop-up window and included a link to wikipedia (map with countries).

I used expressions so, I'm using: "https://pt.wikipedia.org/wiki/" + ($feature.Pais_wiki) + ".html" where "Pais_wiki" is the portuguese name used in wikipedia page. This way it was supposed to redirect to the correct page.

However, even being the address correct (like , for instance: https://pt.wikipedia.org/wiki/Gana ) when is redirected from the link in the pop up I also get a error page saying:

"There is currently no text in this page. You can search for this page title in other pages, search the related logs, or create this page."

Screenshot_1.png

Anyone have this problem? There are any restriction related to links redirected from some sources, like ESRI?

0 Kudos
1 Solution

Accepted Solutions
LMBaptista
Frequent Contributor

I'm sorry people. Wikipedia does not end the pages with .html

Removing this end everything works fine. bah!!

View solution in original post

0 Kudos
1 Reply
LMBaptista
Frequent Contributor

I'm sorry people. Wikipedia does not end the pages with .html

Removing this end everything works fine. bah!!

0 Kudos