Skip to main content
Solved

Open report screen to parameters

  • January 23, 2023
  • 2 replies
  • 142 views

Forum|alt.badge.img+6

I’m using PXReportRequiredException  to open up a report from a button on a screen. I would like to open the report to the where the user can enter the parameters instead of the preview. I don’t want to pass the parameters to the report because it doesn’t make sense in this context.

Is there a way to do that?

Best answer by Yuriy Zaletskyy

I’d consider these excetions instead:

PXRedirectToUrlException or PXRedirectRequiredException. 

if (string.IsNullOrEmpty(e.NavigateUrl) is false)
					throw new PXRedirectToUrlException(e.NavigateUrl, newWindowMode, "");

 

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

2 replies

Yuriy Zaletskyy
Jr Varsity I
Forum|alt.badge.img+3

I’d consider these excetions instead:

PXRedirectToUrlException or PXRedirectRequiredException. 

if (string.IsNullOrEmpty(e.NavigateUrl) is false)
					throw new PXRedirectToUrlException(e.NavigateUrl, newWindowMode, "");

 


Yuriy Zaletskyy
Jr Varsity I
Forum|alt.badge.img+3

@Django did my suggestion helped?


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