Hi Forum,
I am building xMII's XML format document and in that I am using data item action to add data in a row. When i tried mentioning the document name,data item name and value in the 'configure object' option(data is mentioned at design time), data is getting inserted properly in to the document.
But if i try to set the document name,item name and value name in the 'configure links' option(data to be fetched at runtime), data is not getting inserted.
Can any one tell how to work out when data is to be fetched at runtime or is it supposed to work only when the data item name is mentioned at design time ?
Thanks a lot,
Mike
Hi Martin,
I did the same way as you said and conceptually we are on same page .
Let me explain what i did :
1) Create two columns in the document dynamically.
2) Create an empty row which points to the document.
3) Now, create two dataitems which points to the document. While assigning values in the link editor, we can see only three properties i.e name, value and document name. Here, i mentioned a value and mapped the document.
This is not working either may be xMII doesn't know to how to map the value to available two column names or as Rick(previous reply) said document name should be given at design time.
And as i said i can't mention document name at design time. I am forced to enter the column name also at design time. I am using xMII 11.5. I feel this is a problem with 11.5. can you please try this in xMII 12.0.
Anyways, i got a work around of this problem using string concatenations etc. 😊
Thanks & Regards,
Mike.
Hi Rick,
I tried to do that way also. But when i chose the document name and press on OK button, a pop up is shown saying that "Cannot add empty column". It is a warning message. I m left with only option of pressing CANCEL button and the data that i entered is lost. I think it is must to give the column name also statically. But this is a weird behavior.
I can enter both the document name and column name statically. I can assign the value dynamically but i want to give the column name also dynamically.
Thanks,
Mike.
Hi Martin ,
I did the same way as you said. The COLUMN action takes the dummy values and inserts the columns in to the document. And when i want to insert values for these columns in the rows, am using DATAITEM action as i already said. Here, if mention the column name in linking(run time), values are not getting updated at runtime into the document.
I tried giving a dummy value for the column name and mentioned the document name at design time as you said. Even then i cant see the new columns added at runtime. I can only see the dummy column that i added at design time in rows of XML.
Thanks,
Mike.
Add a comment