简体   繁体   English

Guidewire政策中心中的外部超链接

[英]external hyperlink in guidewire policy center

I need to do an hyperlink to an external page in Guidewire Policy Center. 我需要在Guidewire Policy Center中建立到外部页面的超链接。 I am using a function in a gsx enhancement file that returns a String with the url according some parameters. 我在gsx增强文件中使用了一个函数,该函数根据一些参数返回带有url的字符串。

The problem is that I don't know how to use the url to redirect to another page. 问题是我不知道如何使用url重定向到另一个页面。

As Carlos mentioned you need to create / use an ExitPoint PCF. 正如Carlos所述,您需要创建/使用ExitPoint PCF。 The documentation is linked in his answer so I won't do it again, however in case it becomes invalid for some reason here's the long and short of it. 该文档链接在他的答案中,因此我不再赘述,但是如果由于某种原因它变得无效,这就是它的长短。

You need to create a new PCF file and make of type exitpoint 您需要创建一个新的PCF文件,并使其类型为exitpoint 在此处输入图片说明

In there you make an exitPointParameter, fill out the necessary fields, and you're set. 在其中创建一个exitPointParameter,填写必填字段,然后进行设置。

Then you can put your link wherever you want and just put in the action nameOfExitPointPCF.push("http://www.google.com") 然后,您可以将链接放在nameOfExitPointPCF.push("http://www.google.com") ,只需输入操作nameOfExitPointPCF.push("http://www.google.com")

You can put other parameters in there, and it'll build it for you, just refer to the documentation. 您可以在其中放置其他参数,然后它将为您构建它,只需参考文档即可。

For really simple external links, there's one called ExternalUrl.pcf that I assume is in the out of the box configuration. 对于非常简单的外部链接,我认为其中一个名为ExternalUrl.pcf在开箱即用的配置中。

You must create a ExitPoint PCF file. 您必须创建一个ExitPoint PCF文件。 You can read about that in module documentation. 您可以在模块文档中阅读有关内容。 Open the page with Firefox... 使用Firefox打开页面...

PolicyCenter/doc/wwhelp/wwhimpl/js/html/wwhelp.htm#href=Configuration Guide/pagefunc.34.4.html PolicyCenter / doc / wwhelp / wwhimpl / js / html / wwhelp.htm#href =配置指南/pagefunc.34.4.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM