Skip to main content
Solved

Test SDK: How to generate wrappers for Dashboards

  • April 8, 2025
  • 1 reply
  • 60 views

I'm currently working on SDK tests and need to interact with various Dashboards. The SDK README file provides instructions specifically for Dashboard DB000038, which is functioning correctly on my end. However, I’m unable to access any of the other Dashboards.

My question is: do we need to generate wrappers for the other Dashboards? If so, what is the correct process for doing this, as the Class Generator does not generate them? Alternatively, if wrapper generation isn't required, how should I access these Dashboards?

Thank you!

Best answer by Rakshanda

Hi ​@annanykolenko71 ,

For some screens, Acumatica provides built-in wrapper classes, which makes them easier to access—for example, screen ID DB000038.

However, for dashboards you want to access that don’t already have wrappers, we’ll need to generate a custom wrapper class.

Here’s an example of how we can create one:

Code for wrapper generation

 

hope above helps!!

View original
Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img
  • Jr Varsity I
  • 12 replies
  • Answer
  • April 14, 2025

Hi ​@annanykolenko71 ,

For some screens, Acumatica provides built-in wrapper classes, which makes them easier to access—for example, screen ID DB000038.

However, for dashboards you want to access that don’t already have wrappers, we’ll need to generate a custom wrapper class.

Here’s an example of how we can create one:

Code for wrapper generation

 

hope above helps!!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings