x
Exciting news! We are now MESCIUS USA, Inc. Read More! We are now MESCIUS USA, Inc. Read More! We are now MESCIUS USA!

Json Provider with authentication

Posted by: bram.neirinck on 20 March 2025, 2:57 am EST

  • Posted 20 March 2025, 2:57 am EST

    Hi,

    Is there a way to extend the Json provider without having to write my own custom provider?

    I have a oData service that I’m calling but I also need to send an authentication header.

    If I need to wrtie my own Json provider, is there a way to consult the default Json provider so I can copy some code?

  • Posted 25 March 2025, 6:43 am EST - Updated 25 March 2025, 6:48 am EST

    Hi Bran,

    You can add authorization headers to your JSON DataSource as well. Also for post requests you can also include a body. For this in the JSON DataSource dialog go to Connection String and click on the pen tool.

    Please see the attached screenshot.

  • Posted 25 March 2025, 7:05 am EST - Updated 25 March 2025, 7:10 am EST

    Akshay,

    If I look at the screen I don’t see a pencil

    I’m using v16.1.1.0 of active reports (.net)

    Is this an option that is only available in a later version?

  • Posted 26 March 2025, 8:16 am EST

    Hi Bram,

    This options seems to be available in version 17 and higher. Since you are using an old version of ActiveReports, I would suggest you to upgrade to ActiveReports 19 to consume the latest features and bug fixes.

Need extra support?

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

Learn More

Forum Channels