Get Free Trial
API reference
Table of contents

ShareReportConnectionObject

Object which contains the configuration needed to share a report. It has the following properties:

  • url — String. The Data Server’s URL. If defined, it will override the URL set in the dataSource.url property.
  • requestHeaders optional – Object. Allows you to add custom request headers. This object consists of "key": "value" pairs, where "key" is a header’s name and "value" is its value.
  • singleEndpoint – Boolean. When set to true, Flexmonster sends the requests to a single endpoint specified in the url property. Default value: false.
  • withCredentials optional – Boolean. Indicates whether cross-site Access-Control requests should be made using credentials such as authorization headers (true) or not (false). For more details, refer to MDN web docs.
    Setting the withCredentials flag to true is recommended when using Windows authentication and other types of server authentications. When set to false, the browser does not ask for credentials and does not include them in outgoing requests. Default value: false.

See also

Share the report
shareReport()