05-28-2018 11:54 AM
I have a calculated field on a Unity form. I need to retrieve the value in this calculated field in a Unity script. The SDK states that you can get the value from a calculated field the same way as any other filed on a Unity form (ex: form.AllFields.ValueFields.Find(MY_VALUE_FIELD).Value). However, when I try this I get the following error, "Object reference not set to an instance of an object". I added some code to display all of the fields on the form and I can see all of the fields with the exception of the calculated field. I am new to Unity scripts and I am likely missing something simple. Any help that you could offer would be greatly appreciated.
05-28-2018 12:24 PM
05-29-2018 04:39 AM
07-28-2020 06:05 AM
I realize this is several years old, but would either of you be willing to share the code you used to do this? I am attempting to do the same thing following the SDK as you both did, but I hadn't gotten to your snag yet. I'm trying to figure out the syntax to pass the current object in as a form to even loop through the fields in the first place. If willing, my email address is rob.keberdle@thirdfederal.com. Thanks!
06-25-2021 11:22 AM
Still running into this issue in 2021. Very confused on the language of the SDK, it makes the distinction between Table and Repeater values but doesn't suggest anything about calculated fields not working. Very tedious work around.
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.