I have some client variable like company name , payment type , amount etc. I want to show the variable data to a table .
Hello Sumaiya Akter,
Outsystems table expects Record list as a source for the table.
Can you provide more details about the expected output?
Hi Sumaya,
you can easily create a screen showing all the data by just calling Client.CompanyName, etc, variables to an Expression.
But if you want to use a table widget do the following:
Create a structure to simulate a table:
On the mobile screen you want do display the data, create a local variable of type List of Company.
Create a OnInitialize event and assign your client variables to the List
Now you just need to create a table with CompanyList assigned to it.
Regards
I DID THIS & THERE IS NO DATA TO SHOW IT JUST SHOWING THE HEADERS
Can you send the oml?
sorry cant share oml as i use company credentials.. ihave attach image on the pdf please check.
I forgot to add a step.
You need to create a local variable of type Company (structure).
In the assign action, assign the client values to the Company variable.
Use ListAppend action to add that value to CompanyList variable.