We don't officially support writing custom controllers today. Our only officially supported ways to modify the application are via the AppCustomization.js (where you can listen for the various events across all controllers/pages, add methods that get called based on an action in the app, etc.) or via app.xml changes. Without seeing what you're trying to do, it's hard to explain how to accomplish it via the AppCustomization.js
I'm not an expert when it comes to JavaScript applications and can't currently test this. Looking at the error, I'm guessing one of two things are happening. Either you're referencing the core AttachmentsController and forgot to import it or you copied the AttachmentController JavaScript file to create your new controller and left the export default as AttachmentsController at the bottom of your file and need to rename it to your own class.
If it's you need to interact with AttachmentsController and you haven't properly imported, add this to the top of your JavaScript file.
import AttachmentsController from './AttachmentController';
------------------------------
Steven Shull
------------------------------
Original Message:
Sent: Mon March 28, 2022 10:05 AM
From: Bala Chendrayudu
Subject: suggestion on resolve controller error - Maximo mobile for EAM Technician app v 8.6
Hi Team,
Can anyone provide a suggestion to resolve below mention error in maximo mobile for EAM technician app
------------------------------
Bala Chendrayudu
------------------------------
#AssetandFacilitiesManagement
#Maximo