Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Cube Grid Export fails

    Hello,
    I am trying to use Smart client's built in Export to excel functionality. But I get response as status:-1,
    data:"Attempt to execute RPC DMI Builtin 'downloadClientExport' DENIED by server.properties configuration. To enable this method, add it to the list of methods under RPCManager.enabledBuiltinMethods in server.properties"
    }

    //allow cube to be exported to Excel
    isc.IButton.create({
    ID: "reportExport",
    top: 125,
    left: 675,
    autodraw: false,
    title: "Export",
    click: function (){
    cubeGrid.exportClientData({exportAs: "xls",exportDisplay:"download",exportToClient:true});
    }
    })Please take a look at attached RPCRequest RPCRequest.txt and here is the Export button code Please advise what are the parameters or any configuration that I may be missing.
    I am using v11 analytics.


    {
    "actionURL":"http://localhost:8080/ACES/isomorphic/IDACall",
    "showPrompt":false,
    "transport":"hiddenFrame",
    "promptStyle":"cursor",
    "data":{
    "appID":"isc_builtin",
    "className":"builtin",
    "methodName":"downloadClientExport",
    "arguments":[
    [
    {
    "_Year":"All Years",
    "_Option":"All Options",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"All WBS",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":"7,100",
    "Direct Labor Hours$style":{
    "rawValue":7100,
    "format":",##0.00"
    },
    "Total Labor Dollars":"358,688",
    "Total Labor Dollars$style":{
    "rawValue":358688,
    "format":",##0.00"
    },
    "Total Cost of Money":"485",
    "Total Cost of Money$style":{
    "rawValue":485,
    "format":",##0.00"
    },
    "Sell Price":"422,322",
    "Sell Price$style":{
    "rawValue":422322,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - All Options - All BusinessBurden - All WBS - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"AA",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"All WBS",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":"1,050",
    "Direct Labor Hours$style":{
    "rawValue":1050,
    "format":",##0.00"
    },
    "Total Labor Dollars":"48,093",
    "Total Labor Dollars$style":{
    "rawValue":48093,
    "format":",##0.00"
    },
    "Total Cost of Money":"171",
    "Total Cost of Money$style":{
    "rawValue":171,
    "format":",##0.00"
    },
    "Sell Price":"60,423",
    "Sell Price$style":{
    "rawValue":60423,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - AA - All BusinessBurden - All WBS - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"All WBS",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":"1,050",
    "Direct Labor Hours$style":{
    "rawValue":1050,
    "format":",##0.00"
    },
    "Total Labor Dollars":"48,093",
    "Total Labor Dollars$style":{
    "rawValue":48093,
    "format":",##0.00"
    },
    "Total Cost of Money":"171",
    "Total Cost of Money$style":{
    "rawValue":171,
    "format":",##0.00"
    },
    "Sell Price":"60,666",
    "Sell Price$style":{
    "rawValue":60666,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - All WBS - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"BB--WBS - BB",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":"1,050",
    "Direct Labor Hours$style":{
    "rawValue":1050,
    "format":",##0.00"
    },
    "Total Labor Dollars":"48,093",
    "Total Labor Dollars$style":{
    "rawValue":48093,
    "format":",##0.00"
    },
    "Total Cost of Money":"171",
    "Total Cost of Money$style":{
    "rawValue":171,
    "format":",##0.00"
    },
    "Sell Price":"59,373",
    "Sell Price$style":{
    "rawValue":59373,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - BB--WBS - BB - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"C--WBS - C",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":" ",
    "Direct Labor Hours$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Labor Dollars":" ",
    "Total Labor Dollars$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Cost of Money":" ",
    "Total Cost of Money$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Sell Price":"1,293",
    "Sell Price$style":{
    "rawValue":1293,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - C--WBS - C - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"Unassigned",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":" ",
    "Direct Labor Hours$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Labor Dollars":" ",
    "Total Labor Dollars$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Cost of Money":" ",
    "Total Cost of Money$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Sell Price":" ",
    "Sell Price$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - Unassigned - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"AAA--AAA",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":" ",
    "Direct Labor Hours$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Labor Dollars":" ",
    "Total Labor Dollars$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Cost of Money":" ",
    "Total Cost of Money$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Sell Price":" ",
    "Sell Price$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - AAA--AAA - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"BB",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"DDD--DDD",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":" ",
    "Direct Labor Hours$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Labor Dollars":" ",
    "Total Labor Dollars$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Total Cost of Money":" ",
    "Total Cost of Money$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "Sell Price":" ",
    "Sell Price$style":{
    "rawValue":null,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - BB - All BusinessBurden - DDD--DDD - All ClinSlin - All Resources"
    },
    {
    "_Year":"All Years",
    "_Option":"Unassigned",
    "_BusinessBurden":"All BusinessBurden",
    "_WBS":"All WBS",
    "_Clin/Slin":"All ClinSlin",
    "_LMO/Resources":"All Resources",
    "Direct Labor Hours":"5,000",
    "Direct Labor Hours$style":{
    "rawValue":5000,
    "format":",##0.00"
    },
    "Total Labor Dollars":"262,502",
    "Total Labor Dollars$style":{
    "rawValue":262502,
    "format":",##0.00"
    },
    "Total Cost of Money":"143",
    "Total Cost of Money$style":{
    "rawValue":143,
    "format":",##0.00"
    },
    "Sell Price":"301,233",
    "Sell Price$style":{
    "rawValue":301233,
    "format":",##0.00"
    },
    "_rowHeaderTitles":"All Years - Unassigned - All BusinessBurden - All WBS - All ClinSlin - All Resources"
    }
    ],
    "xls",
    "export.xls",
    "download",
    {
    "exportAs":"xls",
    "exportDisplay":"download",
    "exportFilename":"export.xls",
    "exportPath":null,
    "exportToClient":true,
    "exportToFilesystem":null,
    "exportDelimiter":null,
    "exportFields":[
    "_Year",
    "_Option",
    "_BusinessBurden",
    "_WBS",
    "_Clin/Slin",
    "_LMO/Resources",
    "Direct Labor Hours",
    "Total Labor Dollars",
    "Total Cost of Money",
    "Sell Price"
    ],
    "exportHeader":null,
    "exportHeaderless":null,
    "exportFooter":null,
    "exportTitleSeparatorChar":null,
    "exportDefaultBGColor":null,
    "exportAlternateRowBGColor":null,
    "exportRowBGColors":{
    },
    "exportColumnBGColors":{
    },
    "exportRawValues":false,
    "exportCurrencySymbol":"$",
    "lineBreakStyle":null,
    "exportOtherFields":{
    "_Year":"Year",
    "_Option":"Option",
    "_BusinessBurden":"BusinessBurden",
    "_WBS":"WBS",
    "_Clin/Slin":"Clin/Slin",
    "_LMO/Resources":"LMO/Resources"
    },
    "exportWrapHeaderTitles":null
    }
    ],
    "is_ISC_RPC_DMI":true
    }
    }
    Thanks,
    Rita
    Last edited by RPATEL; 3 Aug 2016, 14:07.

    #2
    Hi Rita,

    did you see the error message "Attempt to execute RPC DMI Builtin 'downloadClientExport' DENIED by server.properties configuration. To enable this method, add it to the list of methods under RPCManager.enabledBuiltinMethods in server.properties"? Is that method listed in your server.properties file?

    Best regards
    Blama

    Comment

    Working...
    X