Hi.
I added my first repeating group in a FlexiLayout, and I am recognising some fields which can be repeated N times one below each other.
Now I need a block which concatenates these fields with a separator like , (comma) or | (pipe).
I tried to add a new Repeating Block with a Text Block but it is not what I need because I need all instances combined in a single database field during the extraction.
Could you help me please?
Thank you very much!
Bye
コメント
2件のコメント
Hi decibel,
You can only do it on FlexiCapture level. Here is a short instruction how:
In properties of just created field do the following:
for (int i=0;i<Context.Field("Total").Items.Count;i++)
{
Context.Field("TotalTotal").Text+=Context.Field("Total").Items[i].Text+@"|";
}
Context.Field("TotalTotal").Text=Context.Field("TotalTotal").Text.TrimEnd('|');
Where "TotalTotal" is your summary field.
Please feel free to ask questions if you struggle or need any details while implementing this feature.
Best regards,
Vladislav
Thanks!
I realized that FlexiCapture supports a "Merge Fields" rule which does exacly what I want!
サインインしてコメントを残してください。