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

@@ -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.

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}";
// }