This commit is contained in:
@@ -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.)
|
(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.
|
If the user is not already logged in, they will be prompted to login first before the report is rendered.
|
||||||
@@ -390,7 +390,7 @@ namespace AyaNova.Biz
|
|||||||
// //Used to directly open a report at client
|
// //Used to directly open a report at client
|
||||||
// private static string OpenReportUrlBuilder(long objectId, long reportId)
|
// 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;
|
// var ServerUrl = ServerGlobalOpsSettingsCache.Notify.AyaNovaServerURL;
|
||||||
// if (string.IsNullOrWhiteSpace(ServerUrl))
|
// if (string.IsNullOrWhiteSpace(ServerUrl))
|
||||||
// {
|
// {
|
||||||
@@ -398,7 +398,7 @@ namespace AyaNova.Biz
|
|||||||
// return "OPS ERROR NO SERVER URL CONFIGURED";
|
// return "OPS ERROR NO SERVER URL CONFIGURED";
|
||||||
// }
|
// }
|
||||||
// ServerUrl = ServerUrl.Trim().TrimEnd('/');
|
// ServerUrl = ServerUrl.Trim().TrimEnd('/');
|
||||||
// return $"{ServerUrl}/viewreport?oid={objectId}&rid={reportId}";
|
// return $"{ServerUrl}/viewreport/{objectId}/{reportId}";
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user