Setting Dictionary Key with Variable in APEX Script
172
1
0
-
- danr
- Member

- 8 posts
- Joined: May 2018
- Offline
Hello,
i am trying to set a dictionary Key with a Variable i defined and it yields me an error as you can see in the following screenshot:

Any ideas what is happening and how i could work around that issue?
Thanks,
Dani
Attachments:
dictVariables.png (68.6 KB)
-
- danr
- Member

- 8 posts
- Joined: May 2018
- Offline
Okay got it, in case someone else also stumbles on this, here is the syntax that works:
Attachments:
dictSolution.png (6.8 KB)