Populate BDM using 7.3
There are no examples of how to do this. You will need to write your own code, you say nothing about the structure of your BDM so it makes it very difficult for anyone to help.
Here are some examples of how to read a CSV file in Java though (google is a great tool have you heard of it?)
This will get you started and enable you to populate your BDM/Object
And here is some code for doing the BDM bit (will not work) but points you in the right direction.
- myBDM myBDMO = new org.mycompany.myBDM();
- myBDMO.setField1() = "x";
- myBDMO.setField2() = "y";
PS: If this reply answers your question, please mark as resolved.
I am having a little trouble executing this code.
Is this done using Groovy Scripts? If not where are you executing this from and does anything need to be imported?
For example purposes my structure looks like this,
org = ACME
BDM = Temp
Att1 = name (type string)
Att2 = age (type string)
No problem, I have played around with the groovy syntax and am starting to get familiar with it. I am not sure how to use this in a connector yet but I am sure "the google" will have something to say about it.
The link you sent was amazing, have a look at it. ;p
Thanks for the prompt response.
What is this google that you speak of?
I thought that there might have been a functional (non programatic) way to populate the data into the BDM.
I will create a script to do it as mentioned.
:) :D :)
Yeah, no and thanks for understanding - google - it's my go to tool - When I started down this slippery road it was a god send.
This is what started my down this path...