Skip to main content
Solved

How can I redirect the user to Acumatica's landing page?


aaghaei
Captain II
Forum|alt.badge.img+10

Hello Community,

Any idea how can I redirect the user to Acumatica’s landing page (Home ScreenID=00000000)?

Best answer by aaghaei

This is what I ended up doing and seems to work just fine.
 

throw new PXRedirectToUrlException(PXSiteMap.Provider.FindSiteMapNodeByScreenID("00000000").Url, PXBaseRedirectException.WindowMode.Same, "Redirect");

 

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

4 replies

aaghaei
Captain II
Forum|alt.badge.img+10
  • Author
  • Captain II
  • 1201 replies
  • Answer
  • April 7, 2024

This is what I ended up doing and seems to work just fine.
 

throw new PXRedirectToUrlException(PXSiteMap.Provider.FindSiteMapNodeByScreenID("00000000").Url, PXBaseRedirectException.WindowMode.Same, "Redirect");

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2751 replies
  • April 7, 2024

Thank you for sharing your solution with the community @aaghaei!


  • Freshman I
  • 9 replies
  • February 25, 2025

Hi,

I was trying to implement the above solution but getting an error regarding aspx, please see the below image: - 


can you please tell me where to implement the provided solution above. As I think, I have applied it on the wrong method or function .?
 


aaghaei
Captain II
Forum|alt.badge.img+10
  • Author
  • Captain II
  • 1201 replies
  • February 25, 2025

@Dhruv  You can add this as a function to a helper or similar class if you have one and then call it anywhere in your C# code you need it or just directly use in the graph extension code. Potential places that access validations are bypassed are "First", "Previous", "Next", "Last", "DropDown", "ReloadPage", "Cancel" so you will need to check the action name and if it is any of the above then trigger the code.


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