Solved

add value to dropdown using rule

  • 16 February 2017
  • 2 replies
  • 11 views

Badge +5

HI

 

I need to add some value to dropdown using rule.

How can i achieve this...

 

Thanks in advance

icon

Best answer by boringNerd1 20 February 2017, 05:02

View original

2 replies

Badge +15

Hi,

 

I don't think there is a direct rule that allows you to do this. Here's a workaround:

 

1. Create a SQL database table to store your drop down list values

 

2. Create a SmartObject from that table

 

3. Don't use static list for your drop down list control. Set it to a SmartObject source.

 

4. In you form, set a rule to call the Create method of the SmartObject to insert any new values you want for your drop down list

 

5. Once you have inserted the new value into the table, call the rule "Populate a list control with data" again to reload the drop down list.

Badge +5

Thank You so muchhh

Reply