Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • ShareReportConnectionObject

    Object which contains the configuration needed to share a report.

    Properties

    {
      url: string,
      requestHeaders: object,
      singleEndpoint: boolean,
      withCredentials: boolean
    }
    Property/Type Description
    url
    String
    The Data Server’s URL. If defined, it will override the URL set in the dataSource.url property.
    requestHeaders
    Object
    optional Allows you to add custom request headers. This object consists of "key": "value" pairs, where "key" is a header’s name and "value" is the header's value.
    singleEndpoint
    Boolean
    optional When set to true, Flexmonster sends the requests to a single endpoint specified in the url property.
    Default value: false.
    withCredentials
    Boolean
    optional 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()