Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

ASO Data Export with exportdataslice

Summary: We are trying to exportdataslice from ASO cube using groovy rule, we are not really sure how should we use below JSON script in groovy rule. If you have some examples, can you please share.

[{"exportPlanningData": false,"gridDefinition": {"suppressMissingRows": true,"pov": {"dimensions": ["Year","Scenario","Version","Wrkforce","DataView"],  "members": [["FYxx"],["Actual"],["Final"],["NoWrkforce"],["Source"]]},"columns": [{"dimensions": ["Period"],"members": [["IDescendants(YearTotal)"]]}],   "rows": [{"dimensions": ["Entity","Department","Product","Project","Account"],"members": [["IDescendants(Total_Entity)","IDescendants(TotalDept)", "IDescendants(TotalProd)","IDescendants(TotalProj)","IDescendants(A_xxxxx)"]]}]}}]


FYI, We are using below code but getting validation error.


def body0 = new JSONObject()

.put( <Above JSON Code> ).toString()

HttpResponse<String> dmResponse0 =operation.application.getConnection("Local Cloud Instance").post("/HyperionPlanning/rest/v3/applications/TFSFPA/plantypes/****/exportdataslice").body(body0).asString()

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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