Javascript and Custom Properties

kellys75039668

26-04-2017

I'm trying to read a custom property and load it into a field on my form.

form1.Page1.TextField1.rawValue = info["Created By"];

This javascript used to work in older versions.  But in ES4, it does not work.

It looks like this is very similar to this post:

Working with Custom Properties in JavaScript

But this does not seem to work for me, so I'm unsure if there is something simple that I missed?

Accepted Solutions (0)

Answers (1)

Answers (1)

radzmar

MVP

28-04-2017

Assuming your custom variable is named "Created By" the script should look this way:

form1.Page1.TextField1.rawValue = event.target.info["Created By"];