cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Custom Action Jar upload error

former_member206397
Contributor
0 Likes
151

Hi All,

I am trying to create a custom action jar and to upload in MII. I have created a java class using the u201CDeveloping Custom Actions in SAP MII 12.1u201D document. My class name is MIIFileHandler.class and the class path is com.sap.mii.custom.actions.filehandler.MIIFileHandler. I have created a catalog.xml which contains the below details

<?xml version="1.0" encoding="utf-8" ?>

<ComponentCatalog>

<Category Name="SAPMIIFileHandler" Description="SAP MII File Permission Handler">

<Component Type="Action" Name="MIIFileHandler" Description="FilePermissionHandler" Label="FilePermissionHandler" ClassName="com.sap.mii.custom.actions.filehandler.MIIFileHandler" AssemblyName="MIIFileHandler.jar" Dependencies="" HelpFileName="" />

</Category>

</ComponentCatalog>

The catalog.xml is located in same level where the u201Ccomu201D is started. By taking all together I have created the jar file and trying to upload in MII using the path System Management -> Custom Actions but I am getting error like u201CAssembly file is missing file catalog.xml, which configures the actionsu201D.

Can anybody help me if I am doing anything wrong.

Thanks in Advance

Chandan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member206397
Contributor
0 Likes

I have modified the class file and regenerated the jar file. Now I am able to upload the jar in MII.