Javascript and Custom Properties

Avatar

Avatar
Boost 1
Level 1
kellys75039668
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
kellys75039668
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
kellys75039668
Level 1

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)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
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"];