This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-ce7ee5f9-1532-4d4e-9092-a2803e031451 XWIKI-24136 Open

Provide helper API to handle macro feature parameter

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-3a82cd27-8998-49ff-8f38-4c11f6df2517 Simon Urli created this issue on 19/Mar/26 10:53
 
Summary: Provide helper API to handle macro feature parameter
Issue Type: cid:jira-generated-image-avatar-ce7ee5f9-1532-4d4e-9092-a2803e031451 Improvement
Affects Versions: 17.10.4
Assignee: Unassigned
Components: Rendering
Created: 19/Mar/26 10:53
Priority: cid:jira-generated-image-static-major-b4944b03-b3ed-4c97-a9dc-ee26ad259839 Major
Reporter: Simon Urli
Description:

It's possible to define that several macro parameters are bound to the same feature. However, right now developers have to always handle manually the iteration to retrieve the actual parameters that was filled for a given feature.
It would be helpful to provide a dedicated API allowing to know which parameter was filled for a feature and its actual value. Same API should also provide capability to raise an error if several parameters value are filled for the same feature.