Enhancements to Report Params

Posted by: cibarra on 24 September 2024, 6:50 pm EST

    • Post Options:
    • Link

    Posted 24 September 2024, 6:50 pm EST - Updated 24 September 2024, 6:55 pm EST

    Hi,

    I was wondering if there is planning in making enhancements to the Parameters section in the Designer of the ActiveReportsJs library (React) to have a better configuration of the arrangement of the components to display as Parameters?

    Is there support/documentation about how to handle the Parameters outside the component based on the parameter type (something like be able to define a custom ui for the parameters but in a dynamic way). I know that the report can have the the parameters array passed but I am looking for all the options at the moment to implement this feature.

    Also is there a way to automatically hide the parameters ui once the user clicks on preview so that the report gets loaded and prevent having to manually hide the parameters interface?

    Hope you guys can help me with this,

    Regards

  • Posted 25 September 2024, 5:06 am EST

    Hi Cesar,

    >> I was wondering if there is planning in making enhancements to the Parameters section in the Designer of the ActiveReportsJs library (React) to have a better configuration of the arrangement of the components to display as Parameters?

    ActiveReportsJS provides the ability to construct a custom parameter view. You may refer to the attached documentation link for more information about the same: Custom Parameters View

    >> Is there support/documentation about how to handle the Parameters outside the component based on the parameter type (something like be able to define a custom ui for the parameters but in a dynamic way). I know that the report can have the the parameters array passed but I am looking for all the options at the moment to implement this feature.

    Could you please elaborate this requirement a bit more, as it is still unclear to us?

    >> Also is there a way to automatically hide the parameters ui once the user clicks on preview so that the report gets loaded and prevent having to manually hide the parameters interface?

    AFAIK, there is no direct way to do so. However, you can perform DOM manipulation to hide the parameter panel when the Preview button is clicked.

  • Posted 25 September 2024, 11:22 am EST

    Hi,

    Thank you for answering.

    For the first question I was looking for more settings about the canvas like grouping the components or customizing the alignment of the elements in the canvas for like centering. I think right now the components only have location and size.

    For the second question I was referring if there is some kind of info about implementing a custom parameter view outside the component of the designer, in this case with React. One idea that comes to my mind could be mapping the types of the parameters to a custom collection of component so that the Custom Parameters View (outside of the Designer components) gets builds dynamically based on the parameters present in the report. You guys think this might work?

    Regards,

  • Posted 26 September 2024, 6:32 am EST

    Hi Cesar,

    >> For the first question I was looking for more settings about the canvas like grouping the components or customizing the alignment of the elements in the canvas for like centering. I think right now the components only have location and size.

    We had escalated your requirement to our development team [ARJ-6281]. As per them too, you can use a custom parameters panels as demonstrated in the sample here: Report Viewer Component: Setting Parameter Values

    >> For the second question I was referring if there is some kind of info about implementing a custom parameter view outside the component of the designer, in this case with React. One idea that comes to my mind could be mapping the types of the parameters to a custom collection of component so that the Custom Parameters View (outside of the Designer components) gets builds dynamically based on the parameters present in the report. You guys think this might work?

    Currently, we don’t have any such documentation regarding implementing a custom parameter view outside the component of the designer such that it can create a dynamic parameter view based on the report (number of parameters it has, type of parameter, etc.), but your suggestion can be used and implemented to fulfill your requirement. Please refer to the attached sample demonstrating the same and let us know if it helps.

    Attachment: CustomParameterPanel_React.zip

  • Posted 26 September 2024, 4:13 pm EST

    Hi,

    Thank you for answering, also thank you for the demo implementation I think I can work with that as reference. I just have one more question. Where can I see the ticket that you mentioned ([ARJ-6281]) just so I can keep tracking of it.

    Regards,

  • Posted 27 September 2024, 12:18 am EST

    Hi Cesar,

    We are glad that we could help!

    >> Where can I see the ticket that you mentioned ([ARJ-6281]) just so I can keep tracking of it.

    The Jira tickets are for our internal use only. Also, as mentioned earlier in our previous response, we have received a response from our development team that you can use a custom parameter panel for your requirement.

Need extra support?

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

Learn More

Forum Channels