Skip to main content
Solved

Passing params from Print button in Smart Client

  • March 23, 2021
  • 1 reply
  • 108 views

Forum|alt.badge.img+8

Hello,

I’ve edited the Service Contract client report and added a Version parameter because when we use the Print button in the Smart Client it will include all versions of the contract and not just the one we’re looking at.

If I run the report from the Reports screen everything comes out as expected.  If a Version was specified it only shows the one version in the report, otherwise it will include all versions.

Now I’m just trying to figure out how to configure the print button in the UI Designer to pass contract.contract_version as a parameter along with contract.contract_id to generate the report.

Any suggestions?

Thanks!

Best answer by csanders

I figured it out.  Just needed to add the table and column names to the parameter on the reports admin screen.  I was confused by the instruction about passing the values by using a client script.  I think those instructions only apply to the web client.

This topic has been closed for replies.

1 reply

Forum|alt.badge.img+8
  • Author
  • Sidekick (Customer)
  • Answer
  • March 24, 2021

I figured it out.  Just needed to add the table and column names to the parameter on the reports admin screen.  I was confused by the instruction about passing the values by using a client script.  I think those instructions only apply to the web client.