[]
During a report designing process, there are several points where it could be desirable to provide a user with the list of predefined resources:
The necessary type for registering available resources is ResourceProvider. It exposes getImagesList
, and getReportsList
methods that should return the Promise
object that should resolve to the array of the corresponding resources. Each resource should expose id
property that, by default, should be set to the resolvable URL within the application's scope. Besides, a resource could expose the displayName
property to use it as a resource's name in the designer UI.
Visit the Live Demo page for the complete samples for Angular, React, Vue, and pure JavaScript applications.