What kind of data can I put into Apex Action Parameters?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
What kind of data can I put into the parameters of a Custom Apex Action?

Is there a context specific merge syntax :)?
Or does it only take hardcoded values?

Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
  • hopeful

Posted 2 years ago

  • 1
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Hmmm ... haven't used Apex Actions, but I'm fairly certain the following works.
http://help.skuid.com/m/11720/l/187263-global-merge-variables-functions
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Hmmmm ... stumped at this point. I'd try changing the apex action to take a string instead for now to see if the calling of it works.
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
I tried that above :( and didn't work. 

Thanks for your help! Where can I go next to figure this out?
Photo of Jannik Gysi

Jannik Gysi

  • 594 Points 500 badge 2x thumb
Merge Syntax as a parameter should work.

I tried to reproduce your error, but its working fine for me.



Which profile are you on?
(Edited)
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
Thanks for your help! I ended up using a rest service through a snippet. I'll try regular merge again next time and pay attention to my class security.