Maximo地图标识对话框超链接?

问题描述 投票:0回答:1

Maximo 7.6.1.1/Spatial 7.6.1

我在Maximo Spatial的GIS层中有URL:

enter image description here

是否可以将URL显示为超链接,以便用户可以在浏览器的新选项卡/窗口中打开它?

(或在服务器端调用URL REST请求-适用)。

arcgis-js-api maximo
1个回答
0
投票

解决方案是在URL中使用HTML。

然后该网页将在Google Chrome浏览器的新标签页中打开(很好)。Chrome Version 79.0.3945.130 (Official Build) (64-bit)

<a href='http://maps.google.com/maps?q=&layer=c&cbll=43.000000,-78.000000'> Link </a>

enter image description here


此后面的SQL是:

'<a href=''http://maps.google.com/maps?q=' ||chr(38)|| 'layer=c' ||chr(38)|| 
    'cbll=43.000000,-78.000000''> Link </a>' as description,

提示:

在Toad中,“&”号被解释为变量。我不得不用||chr(38)||来代替/替换“&”号。 Escaping ampersand character in SQL string

© www.soinside.com 2019 - 2024. All rights reserved.