COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Business Insight Advanced / Cognos Workspace Advanced => Topic started by: vetteheadracer on 14 Oct 2014 12:55:06 PM

Title: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: vetteheadracer on 14 Oct 2014 12:55:06 PM
Trying to launch WA in Edit Mode

Syntax is this

cognosLaunch("ui.gateway"," gateway ","ui.tool","component")

example is this

cognosLaunch
('ui.gateway','http://localhost/ibmcognos/cgi-bin/cognos.cgi','ui.
tool','CognosViewer','ui.action','run','ui.object','/content/folder
[@name=\'Samples\']/folder[@name=\'Models\']/package
[@name=\'GO Sales(analysis)\']/folder
[@name=\'Report Studio Report Samples\']/report
[@name=\'2005Sales Summary\']')

ui.tool= what exactly if I want Workspace Advanced?
ui.action=edit I assume for Workspace Advanced

Title: Re: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: Lynn on 14 Oct 2014 02:02:28 PM
Perhaps this document will help. Both Report Studio and CWA share the same XML structure so I think you are really launching report studio but with a profile specified that indicates the GUI for CWA rather than RS

http://www-01.ibm.com/support/knowledgecenter/SSEP7J_10.2.0/com.ibm.swg.ba.cognos.ug_cra.10.2.0.doc/c_urlaccess_param_url_ex8.html

Title: Re: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: vetteheadracer on 14 Oct 2014 02:46:11 PM
Starting Cognos Workspace Advanced

'ui.tool','ReportStudio',
'ui.profile','BUA_standalone'

Seems when IBM renamed Business Insight Advanced to Cognos Workspace Advanced they didn't bother to rename the ui.profile it uses........naughty / lazy IBM.
Title: Re: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: Lynn on 14 Oct 2014 02:59:29 PM
Quote from: vetteheadracer on 14 Oct 2014 02:46:11 PM
Starting Cognos Workspace Advanced

'ui.tool','ReportStudio',
'ui.profile','BUA_standalone'

Seems when IBM renamed Business Insight Advanced to Cognos Workspace Advanced they didn't bother to rename the ui.profile it uses........naughty / lazy IBM.
:D :D

Did you ever happen to notice what the PDF file name is for Workspace Advanced?? It is ug_rptstd_fin.pdf which I think originated back in the day when this tool was Report Studio Express Authoring Mode. They haven't bothered to change it since then even though it makes no sense any more.

From the Express Authoring Guide:

The Express authoring mode provides a simplified and focused Report Studio interface. It is designed for non-technical users to create traditional financial and management statement reports.
Title: Re: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: vetteheadracer on 15 Oct 2014 08:51:19 AM
Also wondering if there is a way to start Workspace Advanced without it opening in a new window when launched from a .net application?

Title: Re: Starting a Workspace Advanced Report in Edit Mode from an external UI
Post by: cognoise2016 on 05 May 2016 05:21:59 AM
Hi,
Can anyone explain me the use of CognosLaunch () function .
I trying to use this function in one of my report studio report. My requirement is once the user execute the report studio report , he should have an option in the cognos viewer(output) to edit/open the report in cognos workspace advanced. Since by default we don't have that option iam trying to implement it using Cognos Launch Function . I inserted a html item with the below syntax to open the report in workspace advanced . But the syntax is incorrect. please correct me if my strategy is wrong . Appreciate suggestions for the same
<scriptLanguage ="JAVASCRIPT">
cognosLaunch
('ui.gateway','http://emi_dev/ibmcognos/cgi-bin/cognos.cgi',
'ui.tool','CognosViewer',
'ui.action','new',
'ui.object','/content/folder
[@name=\'Samples\']/folder[@name=\'Models\']/package
[@name=\'GO Sales(analysis)\']/folder
[@name=\'Report Studio Report Samples\']/report
[@name=\'2005Sales Summary\']',
'ui.profile','BUA_standalone')
</script>
thanks