cancel
Showing results for 
Search instead for 
Did you mean: 

Issue on creating action in backoffice

Former Member
0 Kudos

I have created one backoffice action -Created definition.xml and action class. But my action is not getting displayed on UI. Where to configure my action? Any configurations are required?

Please suggest.

Thanks in advance!

Regards, Ramya.

Former Member
0 Kudos

Does your class extend CockpitAction?

Former Member
0 Kudos

Yes.. It is extending CockpitAction..

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all, I have created the custom action in the backoffice list view action area. Now my requirement is to add a file selector and in that i ahave to select a csv file. I am done with all my business logics but the main issue i am facing is.......... Where to place my Method so when i click my action it should invoke my method. Thanks in advance...

former_member632755
Active Contributor
0 Kudos

Hi,

some widgets (like Editor Area or the List View allow embeding ations) are capable to show actions and each of those widget has (or at least should have) documentation on how to configure it.

For example for the List View take a look at Actions Toolbar Configuration section.

Cheers, Wojtek

Former Member
0 Kudos

My action is getting displayed in UI. but it's getting displayed in disabled state. I mean, my action is not getting invoked. Please provide your inputs.

Former Member
0 Kudos

May be you can share your action definition under cockpit-config.xml?

former_member632755
Active Contributor
0 Kudos

Independent of what the root caouse of your problems is definitely the implementation of com.hybris.cockpitng.actions.delete.DeleteAction#canPerform method yields false. This is where I would start to debug.

Former Member
0 Kudos

i referred create action in backoffice docc...created definitions.xml and action.class... but facing issues while buid from cmd window... issue is its not able to import all backoffice extensions but in ee its taking the import