I am trying to concatenate two string values by indirect method in scripting.
e.g. i have written this in expression section concat({[SBR]Seed Receiving/{view.params.AI}/Gross Value.value}, {[SBR]Seed Receiving/{view.params.AI}/Gross Unit.value})
where I have passed AI in the params section of my container
This will work, but note that for performance you should really use two custom properties with indirect tag bindings, and do the sum in a single expression referencing those two custom properties. The tag() function can't be optimized the same way indirect tag bindings can, so it's a performance pitfall.
The Tag() expression function i've used can't be optimized as well as an indirect tag binding.
Given that, the best way to achieve this will be to instead of using two Tag() functions, we'll create two custom properties on your component, let's call them tagValue and tagUnit and each of them will have an indirect binding and they'll look something like this: