WLanguage procedure ("callback") called by
DeepLinkProcedure when the user clicks a deep link with a target URL associated with the application. This procedure must be global.
DeepLinkProcedure (ProcDeepLink)
// ---------------------------------
// Global procedure
// ---------------------------------
PROCEDURE ProcDeepLink(url is URI)
// Gets the product identifier contained in the url
sID is string = ExtractString(url.Query, 2, " = ")
IF sID <> EOT THEN
IF WinStatus(WIN_ProductDetails) <> NotFound THEN
Close(WIN_ProductDetails)
END
OpenMobileWindow(WIN_ProductDetails, sID)
END
Syntax
DeepLinkProcedure_Callback(<URL>)
<URL>: URI variable
URI variable that corresponds to the target of the deep link.