Oracle Apex:table 字段中带有替换字符串的动态 Link - 怎么做?

Oracle Apex: Dynamic Link from table field with Substitution String - how to?

Apex 5.1.4 上的交互式报告页面。我想要一个包含 link 到 html 文档的列,每条记录都指向 html 中的另一个锚点。类似于记录 2 的 http://document.html#table1 for record one and http://document.html#table2 等等。

为此,我在报告所基于的 table 中创建了一个名为 "URL" 的列。此列包含对文档的引用,如下所示:

#WORKSPACE_IMAGES#document.html#table10

因此 html-文档是应用程序共享组件中的静态工作区文件。

因此报告中有一列被定义为 link,link 目标是 URL,其中包含列 "URL".

问题:替换字符串#WORKSPACE_IMAGES#没有被替换。结果 links 看起来像这样:

http://192.168.1.161:8080/apex/f?p=104:80:9943010919868::NO:::#WORKSPACE_IMAGES#document.html#table20

但是 link 确实应该是这样的:

http://192.168.1.161:8080/apex/r/gut/files/static/v2/document.html#table20

有什么办法让这个正确吗?

谢谢!

尝试 &WORKSPACE_IMAGES.document.html#table10 而不是使用“#”语法

现在我有了 - 感谢 Koen Loestrie 的有用建议。

在 table 的 URL 字段中,我只存储文档的名称和锚点:

document.html#table1

link 定义必须像这样更改:

那么 link 就会正确构建。