From 5c2139d5a480aed9b80a9f0e881cf19e31ccebbe Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 28 Dec 2021 19:24:23 +0000 Subject: [PATCH] --- docs/8.0/ayanova/docs/ay-report-edit.md | 2 +- server/AyaNova/generator/CoreJobNotify.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/8.0/ayanova/docs/ay-report-edit.md b/docs/8.0/ayanova/docs/ay-report-edit.md index 48a89719..6973f0d8 100644 --- a/docs/8.0/ayanova/docs/ay-report-edit.md +++ b/docs/8.0/ayanova/docs/ay-report-edit.md @@ -536,6 +536,6 @@ Reports can only be viewed by Users who can log in to AyaNova and have rights to (If you need to send a report to someone without them having a login to AyaNova then you would generate the report and send it as a PDF instead.) -The AyaNova client application requires the report URL format to be as follows: `[PATH_TO_AYANOVA_APP_URL]/viewreport?oid=[objectid]&rid=[reportid]` +The AyaNova client application requires the report URL format to be as follows: `[PATH_TO_AYANOVA_APP_URL]/viewreport/[objectid]/[reportid]` If the user is not already logged in, they will be prompted to login first before the report is rendered. \ No newline at end of file diff --git a/server/AyaNova/generator/CoreJobNotify.cs b/server/AyaNova/generator/CoreJobNotify.cs index 69d61d34..8ace11f5 100644 --- a/server/AyaNova/generator/CoreJobNotify.cs +++ b/server/AyaNova/generator/CoreJobNotify.cs @@ -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}"; // }