Hi everyone.
I need do a pointed list in the text component with a simple array (eg. ["apple","banana","pineapple"]) and an array of objects (eg. [{"name":"Rick"}, {"name":"Sophia"}, {"name": "Hanna"}]) from DataSource. I cant use different components because i dont use anchor.
How can i do that? (i tried to search it but i didnt found)
Thank you in advance.
Custom function
-
- Posts: 6
- Joined: Mon Jun 13, 2022 7:55 am
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Custom function
Hello,
Sorry, maybe we did not exactly understand your task. Could you explain your issue in more detail?
Thank you.
Sorry, maybe we did not exactly understand your task. Could you explain your issue in more detail?
Thank you.
-
- Posts: 6
- Joined: Mon Jun 13, 2022 7:55 am
Re: Custom function
In a text component i want to do a pointend list based on an array like this ["apple","banana","pineapple"] and like this [{"name":"Rick"}, {"name":"Sophia"}, {"name": "Hanna"}], how can i do that?
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Custom function
Hello,
How that data is present in the data source? Could you send us test data for analysis?
Thank you.
How that data is present in the data source? Could you send us test data for analysis?
Thank you.
-
- Posts: 6
- Joined: Mon Jun 13, 2022 7:55 am
Re: Custom function
Hi, this is my datasource, i want to show in a Text Component (and only in this component, i cant use a different one) a pointed list of root_BillingBand and root_Privacy.Cd like this examples:
root_BillingBand:
root_BillingBand:
- 1
- 3
- 9
- a
- c
- e
- f
- Attachments
-
- example_data_source.json
- (1008 Bytes) Downloaded 91 times
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Custom function
Hello,
You can use the following function to join all values from the data source:
{Func.EngineHelper.JoinColumnContent(datasourcename, "columnname", "delimiter")}
Or add your own function.
Thank you.
You can use the following function to join all values from the data source:
{Func.EngineHelper.JoinColumnContent(datasourcename, "columnname", "delimiter")}
Or add your own function.
Thank you.