Hi, I can't seem to understand the bound listboxes feature.
I mean, it seems as though it behaves quite irradically and spontaneous.
I installed the bound listboxes on a fresh ARS Server, edited the two xml-files from the examples and loaded these in the Web Interface tool.
Then, I quit and restartet the ARS Console and also ran "iisreset" on the server.
Started IE and immediatly found "ExtensionAttribute1" to "15", just like the readme says.
However, I had custom names for two attributes (only specified two in the xml files), but somehow only ExtensionAttribute2 actually had the name I specified.
ExtensionAttribute1 was still called "Custom Attribute 1".
So, still having the Web Interface tool still up (without changing a single thing besides removing the recently added extension attributes from the web interface) I clicked "Undo" and looked over the xml files again. Didn't see anything wrong and tried to load the xml files in again.
Now, I can't find the attributes anywhere. Neither in "Add entry --> Select", nor "Add entry --> Create"
Previously I saw all attributes, even up to 15. Now I can't even see any of them.
And actually, when trying to insert them via "Add entry --> Create", I cannot even find ExtensionAttribute 1 and 2. But 3 and up to 15 is there.
I have also looked to see if the attributes are there but with my custom names. And they are not there.
Is this normal? These are my XML files:
Location.xml
[code]
<?xml version="1.0"?>
<WIConfig>
<Server name="">
<Customization Version="30">
<edsaWIEntries xmlns="arswi:customization-entries">
<Entries>
<FormEntry ID="LocationListData_1"
ResID="A"
Properties="extensionAttribute1"
EntryType="0"
FunctionAction="CE_EDS"/>
<FormEntry ID="LocationListData_2"
ResID="B"
Properties="extensionAttribute2"
EntryType="0"
FunctionAction="CE_EDS"/>
</Entries>
</edsaWIEntries>
<edsaWIStrings>
<Resources>
<Res ID="A" Value="LocationName"/>
<Res ID="B" Value="CompanyName"/>
</Resources>
</edsaWIStrings>
</Customization>
</Server>
</WIConfig>
[/code]
This is the LocationListData.xml:
[code]
<?xml version="1.0" encoding="utf-8" ?>
<Root>
<Configuration>
<Control name="extensionAttribute1"
values="Root/Data/Level1/@value">
<Control name="extensionAttribute2"
values="Root/Data/Level1[@value=extensionAttribute1]/Level2/@value">
</Control>
</Control>
</Configuration>
<Data>
<Level1 value="City1">
<Level2 value="Test1"/>
<Level2 value="Test2"/>
<Level2 value="Test3"/>
<Level2 value="Test4"/>
<Level2 value="Test5"/>
</Level1>
<Level1 value="City2">
<Level2 value="Test1"/>
<Level2 value="Test2"/>
<Level2 value="Test3"/>
<Level2 value="Test4"/>
<Level2 value="Test5"/>
</Level1>
</Data>
</Root>
[/code]
Can anyone see anything wrong with these files? Are there any pitfalls?
I mean, it seems as though it behaves quite irradically and spontaneous.
I installed the bound listboxes on a fresh ARS Server, edited the two xml-files from the examples and loaded these in the Web Interface tool.
Then, I quit and restartet the ARS Console and also ran "iisreset" on the server.
Started IE and immediatly found "ExtensionAttribute1" to "15", just like the readme says.
However, I had custom names for two attributes (only specified two in the xml files), but somehow only ExtensionAttribute2 actually had the name I specified.
ExtensionAttribute1 was still called "Custom Attribute 1".
So, still having the Web Interface tool still up (without changing a single thing besides removing the recently added extension attributes from the web interface) I clicked "Undo" and looked over the xml files again. Didn't see anything wrong and tried to load the xml files in again.
Now, I can't find the attributes anywhere. Neither in "Add entry --> Select", nor "Add entry --> Create"
Previously I saw all attributes, even up to 15. Now I can't even see any of them.
And actually, when trying to insert them via "Add entry --> Create", I cannot even find ExtensionAttribute 1 and 2. But 3 and up to 15 is there.
I have also looked to see if the attributes are there but with my custom names. And they are not there.
Is this normal? These are my XML files:
Location.xml
[code]
<?xml version="1.0"?>
<WIConfig>
<Server name="">
<Customization Version="30">
<edsaWIEntries xmlns="arswi:customization-entries">
<Entries>
<FormEntry ID="LocationListData_1"
ResID="A"
Properties="extensionAttribute1"
EntryType="0"
FunctionAction="CE_EDS"/>
<FormEntry ID="LocationListData_2"
ResID="B"
Properties="extensionAttribute2"
EntryType="0"
FunctionAction="CE_EDS"/>
</Entries>
</edsaWIEntries>
<edsaWIStrings>
<Resources>
<Res ID="A" Value="LocationName"/>
<Res ID="B" Value="CompanyName"/>
</Resources>
</edsaWIStrings>
</Customization>
</Server>
</WIConfig>
[/code]
This is the LocationListData.xml:
[code]
<?xml version="1.0" encoding="utf-8" ?>
<Root>
<Configuration>
<Control name="extensionAttribute1"
values="Root/Data/Level1/@value">
<Control name="extensionAttribute2"
values="Root/Data/Level1[@value=extensionAttribute1]/Level2/@value">
</Control>
</Control>
</Configuration>
<Data>
<Level1 value="City1">
<Level2 value="Test1"/>
<Level2 value="Test2"/>
<Level2 value="Test3"/>
<Level2 value="Test4"/>
<Level2 value="Test5"/>
</Level1>
<Level1 value="City2">
<Level2 value="Test1"/>
<Level2 value="Test2"/>
<Level2 value="Test3"/>
<Level2 value="Test4"/>
<Level2 value="Test5"/>
</Level1>
</Data>
</Root>
[/code]
Can anyone see anything wrong with these files? Are there any pitfalls?