Setting Dictionary Key with Variable in APEX Script

   97   1   0
User Avatar
Member
7 posts
Joined: 5月 2018
オフライン
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)

User Avatar
Member
7 posts
Joined: 5月 2018
オフライン
Okay got it, in case someone else also stumbles on this, here is the syntax that works:

Attachments:
dictSolution.png (6.8 KB)

  • Quick Links