Page 1 of 1

Custom function

Posted: Mon Jun 13, 2022 8:39 am
by sivaw38382
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.

Re: Custom function

Posted: Tue Jun 14, 2022 10:11 pm
by Lech Kulikowski
Hello,

Sorry, maybe we did not exactly understand your task. Could you explain your issue in more detail?

Thank you.

Re: Custom function

Posted: Wed Jun 15, 2022 6:32 am
by sivaw38382
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?

Re: Custom function

Posted: Thu Jun 16, 2022 1:13 pm
by Lech Kulikowski
Hello,

How that data is present in the data source? Could you send us test data for analysis?

Thank you.

Re: Custom function

Posted: Fri Jun 17, 2022 7:00 am
by sivaw38382
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:
  • 1
  • 3
  • 9
root_Privacy.Cd:
  • a
  • c
  • e
  • f

Re: Custom function

Posted: Sat Jun 18, 2022 7:30 am
by Lech Kulikowski
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.