123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: irot
- // (C) Copyright IBM Corp. 2003, 2022.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function _kv2(_vl7, _vi4, _pi4, _455, _7e1, _mi4, _as5, _566){var _ff2="";if(_pi4&&_pi4!=""){_ff2='<item xsi:type="bus:runOptionData">' +'<bus:name xsi:type="bus:runOptionEnum">data</bus:name>' +'<bus:value xsi:type="bus:dataEnum">' + _pi4 + '</bus:value>' +'</item>';}var _bw3='<item xsi:type="bus:runOptionAnyURI">' +'<bus:name xsi:type="bus:runOptionEnum">outputLocation</bus:name>' + '<bus:value xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/temporaryObjectLocationEnum#serverFileSystem</bus:value>' +'</item>';if(_7e1){_bw3="";}var _f68=this._wm6();var _9s5=(_as5)||(this._eq8?'run':'runSpecification');var _di;if(this._eq8){_di='<bus:objectPath xsi:type="bus:searchPathSingleObject">' + _jp8._s77( _vi4 ) + '</bus:objectPath>';}else{_di ='<bus:specification xsi:type="' + (this._864?'bus:reportServiceInteractiveReportSpecification':'bus:reportServiceReportSpecification') + '">' +'<bus:value xsi:type="bus:specification">' +_jp8._s77(_vi4)+'</bus:value>'+'</bus:specification>';}var _n02=_6i6._z61();var _fy='';if(this._346&&this._346.globalParameters){_fy ='<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">runOptionEnum#globalParameters</bus:name>' +'<bus:value xsi:type="xsd:string">' + _jp8._s77( this._346.globalParameters ) + '</bus:value>' +'</item>';}var _te6='<rns1:' + _9s5 + '>' +_di+(_566?this._9d(_566):_t77._z22())+'<bus:options SOAP-ENC:arrayType="bus:option[]" xsi:type="SOAP-ENC:Array">' +_fy+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">primaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _6i6._t81 + '</bus:value>' +'</item>'+'<item xsi:type="bus:asynchOptionInt">' +'<bus:name xsi:type="bus:asynchOptionEnum">secondaryWaitThreshold</bus:name>' +'<bus:value xsi:type="xsd:int">' + _6i6._eu + '</bus:value>' +'</item>'+'<item xsi:type="bus:runOptionStringArray">' +'<bus:name xsi:type="bus:runOptionEnum">outputFormat</bus:name>' +'<bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[1]">' +'<item>'+(_455||'XHTML')+'</item>'+'</bus:value>'+'</item>'+'<item xsi:type="bus:asynchOptionEncoding">' +'<bus:name xsi:type="bus:asynchOptionEnum">attachmentEncoding</bus:name>' +'<bus:value xsi:type="bus:encodingEnum">' + _n02 + '</bus:value>' +'</item>'+'<item xsi:type="bus:runOptionAnyURI"><bus:name xsi:type="bus:runOptionEnum">xslURL</bus:name><bus:value xsi:type="xsd:string">' + this._4q4((this._864?"":"viewer")) + '</bus:value></item>' +( _f68?( '<item xsi:type="bus:runOptionInt">' +'<bus:name xsi:type="bus:runOptionEnum">verticalElements</bus:name>' +'<bus:value xsi:type="xsd:int">' + _f68 + '</bus:value>' +'</item>' ):'' ) +'<item xsi:type="bus:runOptionString">' +'<bus:name xsi:type="bus:runOptionEnum">promptFormat</bus:name>' +'<bus:value xsi:type="xsd:string">XHTMLFRGMT</bus:value>' +'</item>'+((this._g97()!=undefined)?('<item xsi:type="bus:runOptionBoolean">' +'<bus:name xsi:type="bus:runOptionEnum">prompt</bus:name>' +'<bus:value xsi:type="xsd:boolean">' + this._g97() + '</bus:value>' +'</item>'):'')+_ff2+_bw3+this._ij3()+'<item xsi:type="bus:genericOptionBoolean">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#interactive</bus:name>' +'<bus:value xsi:type="xsd:boolean">true</bus:value>' +'</item>'+(this._864?(this._346&&this._346.Download=="true"?'':'<item xsi:type="bus:genericOptionBoolean">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#preview</bus:name>' +'<bus:value xsi:type="xsd:boolean">true</bus:value>' +'</item>')+'<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>' +'<bus:value xsi:type="xsd:string">' + this._4q4("viewer") + '</bus:value>' +'</item>':'<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#promptXslUrl</bus:name>' +'<bus:value xsi:type="xsd:string">V5html_viewer.xsl</bus:value>' +'</item>')+'</bus:options>'+'</rns1:' + _9s5 + '>';this._hp2=null;console.time('rsperf: RunReportRequest');_kv2.baseConstructor.call(this, _vl7, _6i6._9k, _te6);if(_mi4){this._py2("X-RsCMStoreID", _mi4);} if(_ss7._jr7("RunReportDelay")){this._v89=_9t7._nd3(_kv2.superClass._v89.bind(this), _ss7._jr7("RunReportDelay"));}};_9t7._v88(_kv2, _6i6);_kv2.prototype._g97=function(){return 'false';};_kv2.prototype._9d=function(_566){var a=[];a.push( '<bus:parameterValues ' + _6i6._dw1 + ' ' + _2u5._ia8 + ' ' + _2u5._ta5 + ' SOAP-ENC:arrayType="bus:parameterValue[]" xsi:type="SOAP-ENC:Array">' );for(var i=0;i<_566.length;i++){var _517=_566[i];var _8i4=_517.name;var _y73=_517.value;var _h51=_y73.length;a.push( '<item xsi:type="bus:parameterValue">' );a.push( '<bus:name xsi:type="xsd:string">' + _jp8._s77( _8i4 ) + '</bus:name>' );a.push( '<bus:value xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="bus:parmValueItem[' + _h51 + ']">' );for(var j=0;j<_h51;j++){var o=_y73[j];var _ty7=Boolean(o.start||o.end);a.push((_ty7?_t7:_an)._fx5(o));}a.push('</bus:value>');a.push('</item>');}a.push('</bus:parameterValues>');return a.join("");};_kv2.prototype._4q4=function(){return 'null.xsl';};_kv2.prototype._wm6=function(){return "";};_kv2.prototype._ij3=function(){return "";};_kv2.prototype._3g3=function(){console.timeEnd('rsperf: RunReportRequest');_kv2.superClass._3g3.call(this);this._j01();var _cr3=this._mv5();if(!_cr3){return;}this._pv4=this._kz3(_cr3);this._x46=this._t44(_cr3);};_kv2.prototype._ye3=function(){return this._pv4;};_kv2.prototype._ul4=function(){return this._x46;};_kv2.prototype._t44=function(_cr3){if(_cr3){var n=_cr3.selectSingleNode("/SOAP-ENV:Envelope/SOAP-ENV:Body//bus:specification/bus:value/@href");if(n){var _t69=n.nodeValue;var _rc9=_t69.split(":")[1];return this._uu5(_rc9);}}return null;};_kv2.prototype._gg=function(){var _247='';var _lw3=_3l6._832();if(_lw3){_247='<item xsi:type="bus:genericOptionAnyURI">' +'<bus:name xsi:type="xsd:string">http://developer.cognos.com/ceba/constants/runOptionEnum#saveSearchPath</bus:name>' +'<bus:value xsi:type="xsd:string">' + _jp8._s77( _lw3 ) + '</bus:value>' +'</item>';}return _247;};
|