Hi Experts,
I have a requirement where I need to store 100 phone numbers in a given field, i.e Targets for now. And then to filter the data on all the columns considering if user searches with 555 then 2nd record should be returned
Currently I was using a single table with structure as shown below
Now, due to some performance issues, we need to get that targets column to be moved to a separate table and store all the phone numbers as a separate row, as shown in below tables
Kindly suggest as how this can be implement, do we need to use nested CDT or if there is any other way possible.
Thanks,
Gaurav Singh
Discussion posts and replies are publicly visible
If there is no further use case other than just ability to search. You may save multiple phone numbers separated by ";" in single text field in DB and retrieve them and split them using the split(). Use contains operator to search the desired substring.
filter: a!queryFilter( field: "phone", operator: "includes", value: ri!value )
Hi Abhay,
I'm foreseeing the challenge of Query timeout in Production that may arise if the data count gets increased at a subsequent period of time. Currently we are storing the data with ";" separated values in the same column.
During design review with Appian team , they asked to put it in a separate column with one row for each targets.The only challenge I'm facing is getting this implemented using the nested cdt, where TargetID is yet not generated when we are entering the multiple numbers.