d Debora
on

 

Hi...first...THANK YOU SO MUCH for this tool. Creating the DEFINE.XML is the task I dread most! I was wondering if you can tell me what column I need to populate to get my derivations/mapping to output in the DEFINE document? In the EXCEL spreadsheet, I put them in the COMMENTS column, but they do not transfer to the COMMENTS/DERVATIONS column in the define. I did open up the code and I see that they are read in, they just don't output. Is there a trick to doing this?

Forums: Define.xml

j Jozef
on January 26, 2017

Hi Debora,

If you contact me personally, I can provide you more details about how to do this.
Did you also inspect the XML that is generated, i.e. not only look what the browser shows you? I ask as your statement "COMMENTS/DERIVATIONS column in the define" does not make sense: there are no columns in the define.xml, only in the view that is generated by the stylesheet in the browser.
In many cases like this, editing the generated define.xml using an XML editor (also NotePad++ is very good) allows to resolve the issue.

d Debora
on January 26, 2017

Hi Jozef:

Thanks for the reply...I will gladly contact you personally! Can you tell me how exactly to do that? I clicked on your username, but there is no e-mail link.

I appreciate your quick response!

Debora.

l Lex
on January 26, 2017

Also, there is a difference between a comment and a derivation. They may display in the same column, but they are different metadata elements. Derived variables need to have a derivation. They may also have a comment, but the derivation is required for derived variables.

 

j Jozef
on January 26, 2017

Hi Debora, I am not allowed to post my mail address here, but if you do a 1 minute Google search on "XML4Pharma", you will find my contact data very easily.
d Debora
on January 26, 2017

When I say "Comment/Derivation" I am talking about the header in the last column of the define.xml where the individual data sets are described. In the EXCEL file, VARIABLES tab, I populate the COMMENTS column and was expecting the contents of that column to populate the "Comment/Derivation" column in the define. In the XML code itself, I see the text, it just doesn't display in the define.

s Sergiy
on January 26, 2017

Hi Debora, 

Unfortunately, it does not work this way.

In Variables tab, a Comment column includes a reference to info into Comments tab rather than an actual comment:

Variables.Comment = Comments.ID

Comment text is stored in Comments.Description.

Please remember, that XML is a case-sensitive language. So, IDs values in Variables.Comment and Comments.ID should be identical. For example, 'ARM' is not the same as 'Arm' or 'ARM '.

Regards, 

Sergiy

Want a demo?

Let’s Talk.

We're eager to share and ready to listen.

Cookie Policy

Pinnacle 21 uses cookies to make our site easier for you to use. By continuing to use this website, you agree to our use of cookies. For more info visit our Privacy Policy.