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

How to make initialize OOTB before our custom extension ?

0 Likes
346

Hi experts

I am currently working on a issue of Backoffice Solr issue.

I want my custom extension should be initiatialized at last after the OOTB backoffice extension gets initialized at the first place.

I added New class for InitDataSetup for the backofficesolr extension but mater of Fact my custom extension is getting initialized first then the OOTB one is getting initialized.

I want the reverse.

How can I do that please suggest ?

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

correct. However I think the file name is extensioninfo.xml.

geffchang
Active Contributor
0 Likes

You are right. I was thinking of the other file. I've updated my answer.

geffchang
Active Contributor
0 Likes

In your custom extension's extensioninfo.xml, you need to define the dependency by requires-extension, like:

 <extension name="custombackoffice">
     <requires-extension name="backoffice"/>