Procedure WLanguage (also called "callback") called by the
DeepLinkProcedure function in case of click on a "deep link" whose target URL has been associated to the application. This procedure must be global.
DeepLinkProcédure(ProcDeepLink)
// ---------------------------------
// Global procedure
// ---------------------------------
PROCÉDURE 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
Variable of type URI corresponding to the target of the clicked "deep link.