Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello!
I'm programming a importator with the ContentService and I'm stuck with two type of fields : Repeatable Strings and MultiUrl.
Before setting my value using the SetValue methods, I check how to format my data with the GetValue method from a test page.
When my field is one of the types above it always retuns me null.
When I do page.Properties.ElementAt(xx).Values I got the expected values, but I can't figure out how to set the value.
Can anybody help me?
P.S: I hope that my english is not too bad for you to understand my issue hahaha.
I just managed to solve this by a very ugly solution:
SetValue("propertyAlias", "value1\r\nvalue2");
Yes Dee, I solved this the same way :P
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
ContentService SetValue of Repeatable Strings
Hello!
I'm programming a importator with the ContentService and I'm stuck with two type of fields : Repeatable Strings and MultiUrl.
Before setting my value using the SetValue methods, I check how to format my data with the GetValue method from a test page.
When my field is one of the types above it always retuns me null.
When I do page.Properties.ElementAt(xx).Values I got the expected values, but I can't figure out how to set the value.
Can anybody help me?
P.S: I hope that my english is not too bad for you to understand my issue hahaha.
I just managed to solve this by a very ugly solution:
SetValue("propertyAlias", "value1\r\nvalue2");
Yes Dee, I solved this the same way :P
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.