Page 1 of 1

Export }-Cubes with Bedrock

Posted: Wed Sep 13, 2023 1:51 pm
by schlemiel29
I want to export a file with attribute data, meaning attribute name and type. So I though it would simply be an export of the cube
'}ElementAttributes_' + Dimensionname

When using '}bedrock.cube.data.export' with my own created cubes, it works fine. But when using an }-Cube nothing happens.I only changed the cube name, nothing else!
Any idea?

Re: Export }-Cubes with Bedrock

Posted: Wed Sep 13, 2023 2:05 pm
by schlemiel29
Sorry, found a solution by myself. Instead of exporting the cube, I can export the dimension '}ElementAttributes_' + Dimensionname.

Re: Export }-Cubes with Bedrock

Posted: Mon Sep 18, 2023 7:54 am
by lotsaram
The process }bedrock.hier.export will include all attribute names and type in the header, before the body which contains the hierarchy structure and attribute values. So if you want the attribute values it will be in that file.

If you aren't interested in the structure you could always just ignore all rows starting with "E" and "P".

Re: Export }-Cubes with Bedrock

Posted: Mon Sep 18, 2023 12:37 pm
by schlemiel29
Thanks, I will use it.