cancel
Showing results for 
Search instead for 
Did you mean: 

Handle special characters in the attribute name

Former Member
0 Kudos

Hi,

I am generating different view element in WD application dynamically. How to handle special characters other than '-/ABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789' for the attribute name dynamically?

Thank you, in advance.

Trupti

Accepted Solutions (0)

Answers (1)

Answers (1)

ChrisPaine
Active Contributor
0 Kudos

Going with the obvious response - don't use them?

if you're using dynamic code, there is no reason (other than debug support) to give your created elements any meaningful name.

Just generate a GUID for each new element and use that.

If you need to be able to later search for and update the element a simple lookup table of GUID to reference string should work reasonably well.

Cheers,

Chris