Feature #16104
closedTS: Enable dynamic setting of stdWrap.field value
100%
Description
Via TS it's not possible to dynamically select the field that you want to retrieve data from. The only ways are via
stdWrap.field = <fieldName>
and
[stdWrap].data = field : <fieldName>
Both syntaxes only offer a static configuration of the field_name. Having stdWrap options for stdWrap.field would do.
Useful example:
temp.myObject = TEXT
temp.myObject {
value = field_1|field_2|field_3|field_4
split {
token = |
cObjNum = 1
1 = TEXT
1 {
prepend = TEXT
prepend.current = 1
prepend.noTrimWrap = |Field "|" contains: |
field.current = 1
}
}
}
(issue imported from #M3375)
Updated by Karsten Dambekalns over 18 years ago
Is this set to "private" on purpose?
Updated by Thorsten Kahler over 18 years ago
I was just waiting for an answer from the list. But there seems to be no alternative, so I open it now.
Updated by Jo Hasenau over 13 years ago
- Target version deleted (
0)
Has been implemented with 4.5.0 when each of the "official" stdWrap properties has ben made stdWrap aware.
Now you can even do stuff like
stdWrap.field.cObject = CASE
stdWrap.field.cObject {
key.field = layout
default = TEXT
default.value = myDefaultField
1 = TEXT
1.value = anotherField
}
Updated by Thorsten Kahler over 13 years ago
- Category deleted (
Communication) - Status changed from New to Closed
- % Done changed from 0 to 100
- PHP Version deleted (
4)
Thanks for the reminder!