Hi Guys,
I tried to use this functionality on SaaS version it works perfectly fine, but I use the same logic for on prem it does not open the particular URL.
AppLink := GetUrl(ClientType::Web, CompanyName, ObjectType::Page, 50, Record);
Let me know if there are any ways to do this.