How to use data type MultipleTextstring (Repeatable textstring) in template
Hello,
I am using Umbraco v7.4.1. In that there is one new data type called
'Umbraco.MultipleTextstring' (Repeatable textstring). I have use it in document type and want to use it in template to display all textstrings. But I am not able to find syntax for it.
Please guide to how to use it. And if there is any guide, where all new data type and its description is there, give me reference of it.
How to use data type MultipleTextstring (Repeatable textstring) in template
Hello,
I am using Umbraco v7.4.1. In that there is one new data type called 'Umbraco.MultipleTextstring' (Repeatable textstring). I have use it in document type and want to use it in template to display all textstrings. But I am not able to find syntax for it.
Please guide to how to use it. And if there is any guide, where all new data type and its description is there, give me reference of it.
Thanks,
Dipa.
Hi Dipa,
There are examples here https://our.umbraco.org/documentation/Getting-Started/Backoffice/Property-Editors/Built-in-Property-Editors/Multiple-Textbox
Jeavon
Hi dipa you can do something like below for getting the repeatable text.
Returns: array of strings
I have had a look at the above examples but I want to get the repeatable text string values from child pages?
I have tried multiple ways but not had any luck yet.
Can anyone please help?
Kind Regards,
Gary Henshall
Hello Gray,
Just get that child page by id or document type alias. after that you can do like below.
if you are not using strongly typed view then you can do something like below.
where multiple string is alias of your property.
Hope this will help,
Regards, Ronak Panchal.
is working on a reply...