You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy BR DataImporter Error: java.lang.UnsupportedOperationException

Summary:

In Groovy business rule, trying to load data using the dataImporter but getting the error: java.lang.UnsupportedOperationException

Content (required):

Have tried many different permutations for the code but cannot get the importer to run. Any ides appreciated.

Version (include the version you are using, if applicable):

PBCS 23.03

Code Snippet (add any code snippets that support your topic, if applicable):

Map<Integer,Map<Dimension,Member>> rowMetadataImport = [:]

Map<Integer,String> rowDataImport = [:]


cube.createDataImportRequest().importData([curr]).withCloseable { dataImporter -> 

Tuple importMetadata

List<Member> importColumnMembers = [curr_mbr]

Map<String,String> importData = [:]

RowData rowImportData

for (i in 1..rowImportCounter) { 

importMetadata = rowMetadataImport[i] as Tuple

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!