Skip to content

testdev-examples/Reporting-Provide-Predefined-JsonDataSource-Header-Parameters-In-Wizard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Provide Predefined JsonDataSource Header Parameters in Wizards

When you use the Report Wizard / Data Source Wizard to bind a report to JSON data, you can specify header parameters for the Web Service Endpoint on the Specify Request Parameters page. This example demonstrates how to provide predefined header parameters on this page.

Predefined Header Parameters

Steps to implement this task:

  • Implement the IWizardCustomizationService interface to customize the Report Wizard and Data Source Wizard (see the WizardCustomization.cs/WizardCustomization.vb file)
    Create a UriJsonSource object with the specified HeaderParameters and QueryParameters properties. Assign this object to the JsonSource property of the report's wizard model.

  • Register the implemented customization service (see the Form1.cs/Form1.vb file)
    Add the service to the DesignMdiController's service collection.

Refer to the JSON Data Source documentation section for more information on how to bind reports to JSON data.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published