I have added a component parameter to my custom component containing multiple Event Log Severity instances. As shown in the image below, Event Log Severity is an Enum. However, when I attempt to iterate over the multiple Event Log Severity instances provided as a component parameter, the parameter is not accessible, despite the standard enum being applicable for iteration. Seems like a bug to me, probably related to this: Enum as Component Param - Bug reports - Appfarm Community.
When I try to make this component shared, the direct use of the Enum is shown in the list of “The following App specific Data Bindings must be resolved before sharing the requested Component”. It therefore seems necessary to fix this if I am to make this component shared.
Thank you for reporting this issue. Although this feature is currently not supported for shareable components, our platform team has been informed of the request.
Can you share the setup that triggers the error you describe below the image?
Then I get a dialog window that contains the issues I need to assess to enable sharing, and press the blue button called “Open in reference panel”:
Lastly I end up with an overview named, as mentioned, “The following App specific Data Bindings must be resolved before sharing the requested Component”
Then I assume that these have databindings to app-specific data? To be able to share components across apps in a solution, make sure that all component params and other data in the component is defined on a solution level, i.e., not directly connected to app data sources, app variables etc.
Please provide the setup in the shareable component if you think that there are any bugs here.
Yes, this is the case for the example here; there is app-specific data. This is only a distraction for the question I am posing concerning enums as parameter, so I have made a smaller example of the issue here:
The issue is that if I want to share this component, I need to be able to provide the list of enum elements as an input parameter to the component. Otherwise I will get the error mentioned above while wanting to share the component. As such, I have attempted to make a parameter as in the first following image, but I am not able to iterate over the parameter input in the component as shown in the second: