Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Default Value for Data Elements doesn't work

Avatar

Avatar
Level 1
Statham
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Statham
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
View profile
Statham
Level 1

21-04-2021

Hello!

 

There are two options how to set Dafult Value for Data elements using Launch UI: 

 

1. In config of property in part 'Advanced options' one can leave a checkmark 'Return an empty string for missing data elements'. This feature doesn't work for my company for some reason. We would prefer to use this as main solution for undefined or empty Data Elements. We didn't find a reason for that. Main subject of question is about this problem.

 

2. Also there is an option to enable Deafult Value inside Data Element configuration. 'Enable default value'. We rely on this solution. It helped us to set Default Value. But it is problematic for us to do it for every Data Element which is undefined. 

 

Could you please help us to figure out what's the deal with 1st way of setting Default Value? 

 

I know that we can set Default Value by defining Data Element using Custom Code, but this option is also we would not prefer because there would be too much additional manual work to do that.

Data Elements default value
View Entire Topic

Avatar

Avatar
Coach
MVP
Andrey_Osadchuk
MVP

Likes

509 likes

Total Posts

917 posts

Correct Reply

243 solutions
Top badges earned
Coach
Contributor
Seeker
Bedrock
Boost 500
View profile

Avatar
Coach
MVP
Andrey_Osadchuk
MVP

Likes

509 likes

Total Posts

917 posts

Correct Reply

243 solutions
Top badges earned
Coach
Contributor
Seeker
Bedrock
Boost 500
View profile
Andrey_Osadchuk
MVP

21-04-2021

maybe the (1) option was designed to return an empty string when an undefined DE (that does not exist) is referenced in the UI (%de_name%) rather than via getVar...