We’ve experienced an issue while working on reports. We’re passing hardcoded values into the report form; these values aren’t being passed into the report if I run the report template directly from the “Reports Tab.” They’re being passed only if I create an instance of it or run an already-created instance from the “My Reports” tab. Is there any way to execute the report directly with hardcoded values in it?
in Reports tab you find the templates, yours or default of SP. Every time you want launch it, you must create a report and it will be created in My Report tab. According with permision, this report is only yours or avaible for all users.
Later, you can use this report for schedule or execution, with the configuration made at the time of creation, but you can change it in second time. Also, if you change the template, you will change all the report correlated with the template.
The simplest way for change a column is the RenderScript, where you can change the result value of the column.
Example:
The actual issue is that we’ve created a custom report and a custom report form. Assume there is a field named “X” inside the Report form, and three values 1, 2, and 3 are hardcoded over there. When the user creates and runs a report using the template, the values are being passed seamlessly, and a report is getting created in the My Reports tab as well. The report in the My Reports tab is working as well. But the issue is that when the user runs the Custom Report (Report Template) directly from the Report tab, hardcoded values aren’t being passed. So is running the created instance from the My Reports tab the only way for the values to be populated?