PDA

View Full Version : XML, merge/join



celestian
September 22nd, 2017, 03:21
I am trying to create an extension that will add a label and string entry to item_main window. I've been doing some experiments but can't seem to get it to show up. Here is the snippet of xml code I've got in the extension.



<root>
<windowclass name="item_main" merge="join">
<sheetdata>
<label_column name="effect_label" insertbefore="cost_label">
<static textres="item_label_effect" />
<tooltip textres="item_label_effect_tooltip" />
</label_column>
<string_columnh name="effect" insertbefore="cost_label">
<gmeditonly />
<readonly />
</string_columnh>
</sheetdata>
</windowclass>
</root>


For the record I have



<base>
<includefile source="campaign/record_item_ie.xml" />
</base>


in the extension.xml file which is the file that contains the above XML.

Am I missing something here? I do see the message that the extension is loaded but can't see the included field included in the item record.

I am working with the latest 5E ruleset.

(yeah, xml is my bane ;( )

celestian
September 22nd, 2017, 03:38
Ok, im an idiot.

<readonly />

was the culprit.