on 07-21-2015 1:00 PM
Hi Experts,
I have created a custom BO with two fields Field-A and Field-B. I want display the Field-B data as drop-down values based on Field-A dynamically.
Field-A Field-B
A 1
A 2
B 45
C 3
When i select A only 1 and 2 values should be displayed as drop down values.
Thanks,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naga,
Are you dependent on modeling it the way you have done (with field A and B as described?)
The reason I ask is, we have created something similar.
We have defined a value mapped to list to be displayed in a dropdown.
However to do this, I recommend an entirely different BO data structure.
With your structure this is certainly possible, however it will require quite some (cumbersome) UI-Scripting.
Best regards,
Ludger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ludger and Mithun,
I want to expose the data contained in custom BO as drop-down not statically defined Code List.
I will have two drop downs.
1. First one should display only A and B(unique).
2, Second drop-down should display values based on first drop-down selected.
Please let me know if you are unable to get my requirement.
Thanks,
Naga
Hi Naga,
I am not entirely sure about your requirement yet so I am still in the requirement analysis mode before suggesting solutions yet.
First:
Is your BO design structure already fixed or do you have room to use subnodes on the bo instead (since this would make things a lot easier)?
Second:
What I understood so far is:
You have a BO 'X' which contains two fields, field A and B.
Here are 4 instances of this BO given:
Field-A Field-B
A 1
A 2
B 45
C 3
Now you want to have a UI where:
1. You can select in the first field some Value as a Dropdown 'A', 'B', or 'C'
2. After you have selected a Value (e.g. 'A') you want to have the second field presenting a Dropdown with the values from '1', '2'.
Correct?
What I do not understand yet is:
1. Is this UI for the same BO 'X' or a different not yet named BO (Y)?
Best regards,
Ludger Bünger
all4cloud.de
As I already mentioned, I would suggest to use a somewhat different data structure as follows:
businessobject CodeList {
element A : Code;
node B [0,n] {
element B : Code;
}
}
With this datastructure what you intend to do is a lot easier.
In the Data Model of our secondary BO:
That should do.
Best regards,
Ludger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.