How to use getSCAttachmentCount in System UI -UI Script GlobalCatalogItemFunctions

klefevre
Tera Contributor

I'm using the getSCAttachmentCount function in GlobalCatalogItemFunctions to check to see if an item was attached to my request before allowing the request to be submitted.  I get the error "Failed to load resource: the server responded with a status of 404 - Not Found" when I get to the point of calling the function.  If I go to System UI | UI Scripts in the explorer window, I can find the function, so I know it exists.  

When I got to Service Portal | Portals and select my portal, under Theme | JS Includes, I see GlobalCatalogItemFunctions.

What more do I need to do to get it to work?

 

 

6 REPLIES 6

klefevre
Tera Contributor
The issue has been solved as explained above. This question can be closed.

RAHUL Khanna1
Mega Guru
@ Author You need to close the thread.