Dropsdown selection data is not stroing to database.

Hello Team,

I need help with the below scenario,

I have a form which takes details of a person like Name, department , Phone Number, City, Country and State/Province (here Country and State/Province both are drop down widgets) when I make  selections and click on submit, all the value of the form except "Country" and "State/Province" are stored to the Database. Please help me understand why Country and State/Province are not persisted to the database and help me how can I fix this issue.

Thanks in advance.

Hi Madhu,

Can you share oml.

I think you are using local variable for stroe value of dropdown, you need to save this value to entity when you use create or update action.


Regards

Rahul Sahu

Rahul Sahu wrote:

Hi Madhu,

Can you share oml.

I think you are using local variable for stroe value of dropdown, you need to save this value to entity when you use create or update action.


Regards

Rahul Sahu

 Hi Rahul,

I am attaching the oml file, please sugget, thanks.

Regards,

Madhu Sudhan


 

Hai Madhu Sudhan 

In DropDown You Are Using Two Local Variable Map The Variable like Wise  


 

Hi Madhu,

I validated your implementation and I didn't observed anything incorrect.. Only the code change which I made is in the OnCountryChangeAction and the Save action flow

Please see the attached .oml file


Hope this helps you!


Regards,

Benjith Sam

Hi Madhu,

there is nothing wrong this oml and its working fine also drop down value save in employee entity



regards

Rahul Sahu