Hi all,
I have 2 web block 1st is Data block, 2nd is Search block. The Search block (contains 3 dropdowns to get selection) is in Data block to get search value and insert them with other data into tables. And I have 2 logic in Data block:
- 1st logic: user select in Search block and press 'Save' button in Data block to insert into table,
- 2nd logic: when user go to Data block, if table has data, value will be shown in Data block and dropdowns of Search block, then user can change value and update data by 'Save' button.
I know how to get value from Search block and send to Data block in 1st logic but don't know how to do in otherwise of 2nd logic. I tried to use same input variable of Search block but it's not work, the dropdowns always blank even table have data.
Because of security of project I can't share OML here, let me know if my description is not clear. I'm working on reactive app.
Thank you.
Hey Bella,
Ignore the previous OML.
Check the latest one.It might help you.Please check and let me know.
Thanks,
Sudip Pal
Hi Bella,
I think if possible can you share some screenshot of the 2 blocks (UI, input, output and event if any).
Regards,
Khuong
Use the input parameter of event in your first block's aggregate that you have used for form mapping and add the following filter
searchValue =searchiNputparameter (in you case the block will have 3 input parameter's and hence filter also)
With the help of above filter you will get the data available in DB and same will be replicate in form and if the data is not available then form will be blank.
Hope you will get it,
Komal
I am attaching an OML .
I think this will help you.
Thanks & Regards,
Hi Sudip Pal ,
Thank you for your help, It's really help me solve the issue.
Hi @Bella Nguyen ,What I have understood from your details, I have developed a similar case.And attaching a sample OML for your reference.In the "search block" there will be a days list and You need to click on the day, in the "data block" it will check for availability and there you can insert in db as well.Please let me know if require more details.Regards,