v2.0.0
v2.0.0v1.2.0

Using predefined resources

During a report designing process, there are several points where it could be desirable to provide a user with the list of predefined resources:

  • Image control's Image property under Shared tab. Check Image Control page for more information.
  • Subreport control's Report Name property. Check Subreport Control for more information.
  • Jump to Report Action parameters. Check Drill-through page for more information.
  • Switch Theme dropdown. Check Styles and themes page for more information.

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.