Passing parameter from Angular to file rdlx

Posted by: duonghb53 on 14 June 2021, 12:39 pm EST

    • Post Options:
    • Link

    Posted 14 June 2021, 12:39 pm EST - Updated 30 September 2022, 6:24 am EST

    I create reportParameters and passing to form activereport but when debug in back-end, it don’t get value.

    Please help me.

    Thank you.





  • Posted 14 June 2021, 12:42 pm EST - Updated 30 September 2022, 6:24 am EST

  • Posted 14 June 2021, 6:16 pm EST

    Hello,

    Can you please check with the attached sample. If issue is not reproducible with my attached sample, then, please modify it and share with us so that I can replicate the issue at my end.

    Thanks,

    Mohit

  • Posted 14 June 2021, 6:20 pm EST

    Dear Mohitg

    Where’s yours sample code. I don’t see it.

  • Posted 14 June 2021, 6:25 pm EST

  • Posted 14 June 2021, 6:49 pm EST - Updated 30 September 2022, 6:19 am EST

    Dear Mohitg

    Thank a lot.

    I will try sample code and response.

  • Posted 15 June 2021, 1:28 pm EST

    Dear Mohitg

    I seem to have understood my problem.

    I think when use:

    
    reportParameters: [{ name: 'fiscal_year', values: ['2021'] },
                              { name: 'organization_cd', values: ['0000'] }],  
    
    

    it will create parameter in file rdlx but I have to create parameter in file rdlx first and then can passing data with parameterName to file rdlx.

    Is this right?

    Thank you.

  • Posted 15 June 2021, 3:08 pm EST

    Hello,

    it will create parameter in file rdlx but I have to create parameter in file rdlx first and then can passing data with parameterName to file rdlx.

    Yes, it will not create the parameter in the report automatically. You need to create the parameter in the rdlx file first then you can pass the value to the parameter through JSViewer.

    Thanks,

    Mohit

  • Posted 15 June 2021, 3:24 pm EST

    Dear Mohitg

    Thank you for your support.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels