Posts

Showing posts from December, 2023

Dyncraft MVC

Image
EWI : Electronic Work Instruction BOM: Build of Material NCP:Non Conformance Part TBD: To be Determind  AddTechnology.cshtml Technology.cshtml ManageTechnology.cshtml     [Authorize(Roles = "SG-DYNLOU-UAM-DEV-Hose21mFittingVolume-Edit")] EWI_ADMIN >_Navigation.js(Controllers\API\App_NavController.cs)  //Uri uri = new Uri(HttpContext.Current.Request.Url.AbsoluteUri);  Uri uri = new Uri("https://dynlou.na.paccar.com/EWI/DashBoard/DashBoard");  string host = uri.Scheme + Uri.SchemeDelimiter + uri.Host + ":" + uri.Port;  string host2 = "http://" + HttpContext.Current.Request.Url.Authority; // string host3 = uri.Scheme + Uri.SchemeDelimiter + HttpContext.Current.Request.Url.Authority; EWI_ADMIN >_Navigation.js(\Scripts\PageScripts\_Navigation.js)   let url = location.href;   let prefix = url.includes('/EWI/') ? '/EWI' : '';   var appuri = prefix + '/Controllers/API/App_Nav/AppNav'   var reporturi = prefix + '/...