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?
Solved
how would I go about publishing/creating extensions for custom screens in ModernUI?
Best answer by Vignesh Ponnusamy
Hi
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,
Login to the community
No account yet? Create an account
Social Login
Login with your Acumatica accountEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.