Solved
Forum Discussion
5 Replies
- Marsha_R
Champion Level 3
if myObj and myAction are both strings, then something like this should work:
eval(myObj + '.' + myAction)
- AlexKaras
Champion Level 2
And if myObj is an object, like in your example, then something like this should work:
eval(myObj.FullName + '.' + myAction)
- s21_shankarNew Contributor
AlexKaras the solution works as charm. Thanks for the solution.