Article Details
Id:9246
Product:finPOWER Connect
Type:NEW
Version:1.04.02
Opened:11/10/2011
Closed:13/10/2011
Released:25/10/2011
Job: J008326

WebInterface type Application Shortcuts can now open a Web Interface page in the current finPOWER Connect Web Browser control

WebInterface type Application Shortcuts can now open a Web Interface page in the current finPOWER Connect Web Browser control, e.g., a Web Browser Control that is displaying a page in the Accounts form.

A new Boolean parameter, OpenInSource has been added. From a Summary Page Script, you can create a link to open a Web Interface page as follows:

Dim AppShortcut As ISApplicationShortcut
AppShortcut = finBL.CreateApplicationShortcut()
With AppShortcut
.Action = "WebInterface"
.Parameters.Add("page", "Account")
.Parameters.Add("id", Account.AccountId)
.Parameters.Add("openInSource", True)
End With
sb.AppendLine("<a href=""app://" & AppShortcut.ToUrlString() & """>Show in Web Interface</a>")

I don't know if you need to escape these characters?
sb.AppendLine("Show in Web Interface")