37
Views
4
Comments
Inputting using List , showing and counting data using List

Hello people! 
I am a newbie developer using Outsystem just a week ago, and while developing a project, i run through an issue that made me stuck in this specific Part.

For a preview, I have a Family table that consists of ID, NIN and Address.
This is used for my main Form to add and save family data.

But inside the NIN, i have to redirect it into a page that shows pressed NIN and Address (which i already include).

The problem lies when i was tasked to add the family member inside the table that redirects it, sort of like this image provided

 I was tasked to use a Client action called List, which is new to me, because before i was using another table aggregate to call for each FamilyMember. This led me stuck on how can i manage to show family member List (form) as in the picture, while having 1 empty input list to type instantly without having to redirect to other page when clicking "Tambah Anggota" (Add member) button.

Looking for a helping hand towards solving this issue!
I will provide the .OML file to see what can be worked with, Thanks in advance !

P.S
I am still exploring the methods to implement these lists as given in the .oml file that is kinda unstructured here ;)

Test1.oml
2021-01-28 10-02-59
Muhammad Mahmudul Hasan

Hi @Justin Tjandra 

Your explanation is not clear. I checked your .OML. Seems you're doing unnecessary redirect & adding to list unnecessarily.


If you can explain what you want to achieve then will be able to help. 

UserImage.jpg
Justin Tjandra

Hello @Muhammad Mahmudul Hasan , thankyou for clarifying. As for more context, I was supposedly create a table showing Family (Keluarga) list, and then based by their NIN (NIK), it will redirect to a page that takes their NIN Input and Address based on FamilyID. While on the 'Family List' form, i was tasked to show the family member by using list whilst also form able to input family members (as shown in picture), basically I'm specifically tasked to change my inputs from DB into lists using ListInsert, ListAppend, etc. 

Does this add more context to the problems issues now ?;)

Thanks for asking!

2021-01-28 10-02-59
Muhammad Mahmudul Hasan

Hi @Justin Tjandra 

Not sure if I have understand correctly. First you want to save family then list of members. upon save redirect to List page. 


Kindly check Attached .OML. we can improve & add validation based on further understanding. 

Test1_Updated.oml
2024-05-29 15-32-15
sagar u shetty

Hi @Justin Tjandra ,

I have attached the OML file with the solution. The solution includes the functionality to retrieve and display family member data in a list format, as per your table design.
 


The functionality has been implemented such that when you click on "Add Member," it will not redirect to a new screen. Instead, a new set of input rows will appear on the same page, allowing you to add details for new family members directly. Once you have entered the necessary information, clicking on "Save" will store the data in both entities—ensuring that the family member information is properly recorded and linked to the correct Family ID. 

You can add validations according to your requirement.



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