Hi,
We designed one web application to list out all required report names with search path and modified date. it looks like a cognos connection page. then we got another requirement to show scheduler icon on the UI of my Application.
if we click on this scheduler icon, it must show cognos scheduler page. in this page users can schedule there reports.
how can we navigate to the cognos scheduler page from my application.
is there any way.
Please suggest me.
Thanks.
Thanay,
You can construct the URL this way. You'll need some information about the report being scheduled
string cogParams = "?b_action=xts.run&m=portal/schedule/report.xts";
cogParams += "&backURL=" + urlOfPreviousPage;
cogParams += "&m_path=" + storeIdOfReport;
cogParams += "&m_name=" + nameOfReport;
cogParams += "&m_class=" + objectType (e.g. "report");
cogParams += "&m_obj=" + searchPath.Replace("'", "'"); // escape the '
string editScheduleURL = cognosGateway + cogParams;
-Andy
Quote from: Andrew Weiss on 23 Jul 2015 09:59:43 AM
Thanay,
You can construct the URL this way. You'll need some information about the report being scheduled
string cogParams = "?b_action=xts.run&m=portal/schedule/report.xts";
cogParams += "&backURL=" + urlOfPreviousPage;
cogParams += "&m_path=" + storeIdOfReport;
cogParams += "&m_name=" + nameOfReport;
cogParams += "&m_class=" + objectType (e.g. "report");
cogParams += "&m_obj=" + searchPath.Replace("'", "'"); // escape the '
string editScheduleURL = cognosGateway + cogParams;
-Andy
Hi Andy,
Thanks for your reply. it is working fine.