Skip to main content
Solved

how would I go about publishing/creating extensions for custom screens in ModernUI?

  • January 5, 2026
  • 2 replies
  • 48 views

When I publish modernui files, in the typescript it goes to “src/screens/customScreen/customScreen/customScreen” but that screen doesn’t exist in the file locations for standard Acumatica screens, so I end up with an error ‘Cannot find module 'src/screens/customScreen/customScreen/customScreen' or its corresponding type declarations.’ Where should I point my typescript to?

Best answer by Vignesh Ponnusamy

Hi ​@mohammadabujaffar21, When creating extension for the custom screens, use relative path in the import statements.

For example,

import statement will readlike below,

import {MasterViewClass, PX100000} from "../PX100000"

When developing and testing from the development folder please make sure the ModernUI files of the new screen is in the development folder. Thanks,

2 replies

Vignesh Ponnusamy
Acumatica Moderator
Forum|alt.badge.img+5

Hi ​@mohammadabujaffar21, When creating extension for the custom screens, use relative path in the import statements.

For example,

import statement will readlike below,

import {MasterViewClass, PX100000} from "../PX100000"

When developing and testing from the development folder please make sure the ModernUI files of the new screen is in the development folder. Thanks,


darylbowman
Captain II
Forum|alt.badge.img+16

Or for extensions :

import { CR303000 } from "src/screens/CR/CR300300/CR303000";