내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Undefined number of parameters in a custom function

Avatar

Level 1

Hello,

 

Got a question about custom functions as I am trying to achieve something. 

I have a custom function defined with a fixed number of parameters and I am trying to create the possibility for the author to add as many fields as parameters in the rule editor. Is there a possibility for me to accept an undefined number of arguments?

 

I was searching through the documentation here: https://experienceleague.adobe.com/docs/experience-manager-64/forms/adaptive-forms-advanced-authorin... and found a snippet saying:

 

"Allowed parameter types are:

  1. string
  2. number
  3. boolean

All other parameter types are categorized under one of the above. None is not supported. Ensure that you select one of the types above. Types are not case sensitive."

 

This kind of makes me believe parameters cannot be arrays, but wanted to make sure.

I am using AEM 6.5

 

Thanks,

Daniel

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10
1 답변 개

Avatar

정확한 답변 작성자:
Level 10