acumaticaacumatica-kb

Is there any way to get the Acumatica base URL through BLC / graph code?


Is there a way to get the Acumatica Base URL through the business logic code?


Solution

  • You can use PXInstanceHelper.HostName, it returns with your computer's name, or you can use HTTPContext from System.Web:

    HttpContext.Current.Request.Url.Host + HttpContext.Current.Request.ApplicationPath;