cancel
Showing results for 
Search instead for 
Did you mean: 

Check if a repeater contains a field

David_Chatterto
Star Collaborator
Star Collaborator

Hello,

 

Without iterating through all fields in a repeater, how do I check if it contains a field? Or even better, get the name of the repeater?

 

If I try to use allFields.ValueFields or allFields.RepeaterFields, I get the 'Object reference not set to an instance of an object' error.

 

Thanks

1 ACCEPTED ANSWER

David_Chatterto
Star Collaborator
Star Collaborator

So Even iterating through all the fields I was getting the same error. Turns out I just had to re-start the Unity client.

View answer in original post

5 REPLIES 5

George_Sialmas
Elite Collaborator
Elite Collaborator

@David Chatterton Is the repeater a MIKG?

@George Sialmas it is

@David Chatterton Would this property help you? FormTemplate.AllFieldDefinitions Property (onbase.com)

@George Sialmas sorry, should have mentioned I'm using the ActiveRepeaterItem property as I just want to get the repeater that called the script, so I don't think your property would help

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.