133
Views
14
Comments
ComboBox
Application Type
Traditional Web

Good Evening Guys,

I tried to choose Source attribute Identifier on Controls in Traditional web development. But it doesn't work for me.

Why I couldn't click or choose attribute identifier if i chose either source entity (or) source record list.

When can we use that?

Any1 plez ans this!  friends


sample.png
2018-10-29 08-31-03
João Marques
 
MVP

Hi Nitish,


As stated in the documentation about Combo Box widget for Traditional Web, the Source attribute Identifier is only valid for when you have a structure as your list.


See here an example, where having a structure list as the Source Record List, the Source Identifier Attribute becomes enabled:


Kind Regards,
João


2023-11-06 15-36-11
NU'k

Thank You Marques got it...

But the issue what am facing is couldnt choose an item in dropdown.

I filtered an aggregate in onchange action and append it & pass it as the local variable for dropdown (combobox) in the screen. but its not like exactly what we are expecting ...even i cant see no values on dropdown when i click.

(we shouldnt use that aggregate on preparation,only take them from onchange through another dropdown.) 

After I Choose any values from dropdown1... not able to pick any value from dropdown2.

But in anothercase ,we can pick or choose any values only if we get the table from preparation.


sample1.png
2020-11-13 07-48-15
Khuong Truong

Hi Nithish,

Can you debug and see the local variable has any value or not? 

Or you can test your aggregate to see if it's working (filtering) correctly or not.

Regards,

Khuong

2025-01-09 14-56-57
IQ78

Hi Kumaar,

Do u mean that drop down2 values depends on dropdown2 values (filtering)?

In that case, u just put the aggregate for dropdown2 in the preparation and try to filter the entity, something like this where.... if(dropdown1.value=0, 1,entity.col) =  if(dropdown1.value=0, 1,dropdown1.value) and in the onchange just refresh the data (of drop down 2) and also refresh the dropdown2 widget.  

regards

2023-11-06 15-36-11
NU'k

Hi Khoung,

Yes I did debugging ...But It doesnt return any values.

But It filtered correctly on aggregate.


2023-11-06 15-36-11
NU'k

Hi Indra,

But Due To Requirement, we should not use it on the preparation...We can only get the filtered table/aggregate from onchange action and refresh it & widget too.

what is the best solution to do next?

Thanks for your Response

2025-01-09 14-56-57
IQ78

yes, that can be achieved by filtering the aggregate using filter i said above... 

1. in the GetMatricula in the preparation, add a filtering using value of dropdown1...see filtering above.

2. in the action onchange refresh those GetMatricula with filtering and also the refresh the widget of dropdown2

that's it!

regards

2020-11-13 07-48-15
Khuong Truong

Hi Nithish,

Can you share your aggregate and filter. You said it filtered correctly but as I see it return empty list. That's why there is no options added to the source dropdown list.

Regards,

Khuong

2025-01-09 14-56-57
IQ78

Hi Nitish,

I have created in P11, but the idea is the same:

1. First the dropdown 1 values:

2.  Dropdown 2

3. when i click kumar in drop down 1, then in the dropdown 2 only nitish  (the same with john and nash):

4.  onchange (For traditional web, need to put refresh widget):


5. This is the Key Factor - filtering:


6. That's it, i have tried it.

regards,


2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

These scribble notes are totally unreadable

2025-01-09 14-56-57
IQ78

Hi Daniel,

I use snipping tool in windows and there is no text tool, so it is a drawing.

regards

2023-11-06 15-36-11
NU'k

thank you indra for your hands....it is worked

2020-06-10 05-06-30
shehroze khan

Hi  NITHISH U KUMAARAN ,

Try to give source entity instead of source record list ,

please let me know if it works.


Thanks 

Shehroze

2023-11-06 15-36-11
NU'k

thank you all guys....for your suggestions & helps

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.