This commit is contained in:
2021-12-28 19:24:23 +00:00
parent 57c318e8fa
commit 5c2139d5a4
2 changed files with 3 additions and 3 deletions

View File

@@ -390,7 +390,7 @@ namespace AyaNova.Biz
// //Used to directly open a report at client
// private static string OpenReportUrlBuilder(long objectId, long reportId)
// {
// //CLIENT EXPECTS: open report links to have a query string [CLIENTAPPURL]/viewreport?oid=[objectid]&rid=[reportid]
// //CLIENT EXPECTS: open report links to have a query string [CLIENTAPPURL]/viewreport/[objectid]/[reportid]
// var ServerUrl = ServerGlobalOpsSettingsCache.Notify.AyaNovaServerURL;
// if (string.IsNullOrWhiteSpace(ServerUrl))
// {
@@ -398,7 +398,7 @@ namespace AyaNova.Biz
// return "OPS ERROR NO SERVER URL CONFIGURED";
// }
// ServerUrl = ServerUrl.Trim().TrimEnd('/');
// return $"{ServerUrl}/viewreport?oid={objectId}&rid={reportId}";
// return $"{ServerUrl}/viewreport/{objectId}/{reportId}";
// }