You are viewing limited content. For full access, please sign in.

Question

Question

Using SDK to set Multi-value field values

SDK
asked on October 30, 2020

Using 10.x of the SDK, how to set the values of mutli-value fields (using VB.NET)

setting single values like this:

FieldValues.Item("ParentLastName") = "Jetson"
FieldValues.Item("ParentFirstName") = "George"

need syntax to set multi-value somehow:

FieldValues.Item("Children")(0) = "Jane"
FieldValues.Item("Children")(1) = "Elroy"
FieldValues.Item("Children")(...) = ...

clearly that's wrong, but hopefully shows what I'm trying to accomplish.

Thanks.

 

 

 

0 0

Replies

replied on October 30, 2020

Figured it out... posting how I solved it in case it helps anyone:

 

Dim kids As Object() = New Object() {"Jane", "Elroy"}
FieldValues.Item("Children") = kids

 

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.