How I add Category chooser in custom module in backend magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How to add Category tree structure like product edit/add in custom module Magento 2 [Solved]How to create a category page with requested category in homepage in Magento 2?Magento 2 - Add tree category selector on backend moduleHow to show bundle products on custom module admin grid in magento 2Magento 2 - How to create a new custom module APIHow to add Category tree structure like product edit/add in custom module Magento 2 [Solved]Magento2 - How to create category tree structure in custom module adminHow to add a custom collection as "Category Chooser” in Magento 2 BackendAdd a custom section to Category products section in using Custom module magento2Category Chooser in system.xmlMagento 2 Add category chooser without UI component

Protagonist's race is hidden - should I reveal it?

Why doesn't the university give past final exams' answers?

Kepler's 3rd law: ratios don't fit data

How can I wire a 9-position switch so that each position turns on one more LED than the one before?

A German immigrant ancestor has a "Registration Affidavit of Alien Enemy" on file. What does that mean exactly?

How to produce a PS1 prompt in bash or ksh93 similar to tcsh

When does Bran Stark remember Jamie pushing him?

Why does BitLocker not use RSA?

What is the evidence that custom checks in Northern Ireland are going to result in violence?

If gravity precedes the formation of a solar system, where did the mass come from that caused the gravity?

Is there a verb for listening stealthily?

What helicopter has the most rotor blades?

Why do C and C++ allow the expression (int) + 4*5?

Coin Game with infinite paradox

Married in secret, can marital status in passport be changed at a later date?

Converting a text document with special format to Pandas DataFrame

Putting Ant-Man on house arrest

How to leave only the following strings?

Why did Israel vote against lifting the American embargo on Cuba?

enable https on private network

What's the difference between using dependency injection with a container and using a service locator?

Proving inequality for positive definite matrix

Why do people think Winterfell crypts is the safest place for women, children & old people?

Can I ask an author to send me his ebook?



How I add Category chooser in custom module in backend magento 2



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How to add Category tree structure like product edit/add in custom module Magento 2 [Solved]How to create a category page with requested category in homepage in Magento 2?Magento 2 - Add tree category selector on backend moduleHow to show bundle products on custom module admin grid in magento 2Magento 2 - How to create a new custom module APIHow to add Category tree structure like product edit/add in custom module Magento 2 [Solved]Magento2 - How to create category tree structure in custom module adminHow to add a custom collection as "Category Chooser” in Magento 2 BackendAdd a custom section to Category products section in using Custom module magento2Category Chooser in system.xmlMagento 2 Add category chooser without UI component



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















Anyone Help me please how I create category chooser in custom module in magento 2



enter image description here










share|improve this question
























  • Show what you have tried

    – Priyank
    Jun 20 '18 at 13:27











  • Thanks for reply I need same category chooser in my custom module

    – Rahul Katoch
    Jun 20 '18 at 13:31











  • Just the ui select ?

    – Priyank
    Jun 20 '18 at 13:33











  • Can You please send me the complete process I tried with ui but not work

    – Rahul Katoch
    Jun 20 '18 at 13:34











  • magento.stackexchange.com/questions/157459/…

    – Priyank
    Jun 20 '18 at 13:35

















1















Anyone Help me please how I create category chooser in custom module in magento 2



enter image description here










share|improve this question
























  • Show what you have tried

    – Priyank
    Jun 20 '18 at 13:27











  • Thanks for reply I need same category chooser in my custom module

    – Rahul Katoch
    Jun 20 '18 at 13:31











  • Just the ui select ?

    – Priyank
    Jun 20 '18 at 13:33











  • Can You please send me the complete process I tried with ui but not work

    – Rahul Katoch
    Jun 20 '18 at 13:34











  • magento.stackexchange.com/questions/157459/…

    – Priyank
    Jun 20 '18 at 13:35













1












1








1








Anyone Help me please how I create category chooser in custom module in magento 2



enter image description here










share|improve this question
















Anyone Help me please how I create category chooser in custom module in magento 2



enter image description here







magento2 admin category catalog forms






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 21 '18 at 14:12









7ochem

5,86493770




5,86493770










asked Jun 20 '18 at 12:59









Rahul KatochRahul Katoch

5101621




5101621












  • Show what you have tried

    – Priyank
    Jun 20 '18 at 13:27











  • Thanks for reply I need same category chooser in my custom module

    – Rahul Katoch
    Jun 20 '18 at 13:31











  • Just the ui select ?

    – Priyank
    Jun 20 '18 at 13:33











  • Can You please send me the complete process I tried with ui but not work

    – Rahul Katoch
    Jun 20 '18 at 13:34











  • magento.stackexchange.com/questions/157459/…

    – Priyank
    Jun 20 '18 at 13:35

















  • Show what you have tried

    – Priyank
    Jun 20 '18 at 13:27











  • Thanks for reply I need same category chooser in my custom module

    – Rahul Katoch
    Jun 20 '18 at 13:31











  • Just the ui select ?

    – Priyank
    Jun 20 '18 at 13:33











  • Can You please send me the complete process I tried with ui but not work

    – Rahul Katoch
    Jun 20 '18 at 13:34











  • magento.stackexchange.com/questions/157459/…

    – Priyank
    Jun 20 '18 at 13:35
















Show what you have tried

– Priyank
Jun 20 '18 at 13:27





Show what you have tried

– Priyank
Jun 20 '18 at 13:27













Thanks for reply I need same category chooser in my custom module

– Rahul Katoch
Jun 20 '18 at 13:31





Thanks for reply I need same category chooser in my custom module

– Rahul Katoch
Jun 20 '18 at 13:31













Just the ui select ?

– Priyank
Jun 20 '18 at 13:33





Just the ui select ?

– Priyank
Jun 20 '18 at 13:33













Can You please send me the complete process I tried with ui but not work

– Rahul Katoch
Jun 20 '18 at 13:34





Can You please send me the complete process I tried with ui but not work

– Rahul Katoch
Jun 20 '18 at 13:34













magento.stackexchange.com/questions/157459/…

– Priyank
Jun 20 '18 at 13:35





magento.stackexchange.com/questions/157459/…

– Priyank
Jun 20 '18 at 13:35










1 Answer
1






active

oldest

votes


















0














Try This



 <field name="category_id">
<argument name="data" xsi:type="array">
<item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
<item name="config" xsi:type="array">
<item name="label" xsi:type="string" translate="true">Category</item>
<item name="componentType" xsi:type="string">field</item>
<item name="formElement" xsi:type="string">select</item>
<item name="component" xsi:type="string">Magento_Catalog/js/components/new-category</item>
<item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
<item name="dataScope" xsi:type="string">category_id</item>
<item name="filterOptions" xsi:type="boolean">true</item>
<item name="showCheckbox" xsi:type="boolean">true</item>
<item name="disableLabel" xsi:type="boolean">true</item>
<item name="multiple" xsi:type="boolean">true</item>
<item name="levelsVisibility" xsi:type="number">1</item>
<item name="sortOrder" xsi:type="number">30</item>
<item name="required" xsi:type="boolean">true</item>
<item name="validation" xsi:type="array">
<item name="required-entry" xsi:type="boolean">false</item>
</item>
<item name="listens" xsi:type="array">
<item name="$ $.namespace .$ $.namespace :responseData" xsi:type="string">setParsed</item>
</item>
</item>
</argument>
</field>





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f230678%2fhow-i-add-category-chooser-in-custom-module-in-backend-magento-2%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try This



     <field name="category_id">
    <argument name="data" xsi:type="array">
    <item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
    <item name="config" xsi:type="array">
    <item name="label" xsi:type="string" translate="true">Category</item>
    <item name="componentType" xsi:type="string">field</item>
    <item name="formElement" xsi:type="string">select</item>
    <item name="component" xsi:type="string">Magento_Catalog/js/components/new-category</item>
    <item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
    <item name="dataScope" xsi:type="string">category_id</item>
    <item name="filterOptions" xsi:type="boolean">true</item>
    <item name="showCheckbox" xsi:type="boolean">true</item>
    <item name="disableLabel" xsi:type="boolean">true</item>
    <item name="multiple" xsi:type="boolean">true</item>
    <item name="levelsVisibility" xsi:type="number">1</item>
    <item name="sortOrder" xsi:type="number">30</item>
    <item name="required" xsi:type="boolean">true</item>
    <item name="validation" xsi:type="array">
    <item name="required-entry" xsi:type="boolean">false</item>
    </item>
    <item name="listens" xsi:type="array">
    <item name="$ $.namespace .$ $.namespace :responseData" xsi:type="string">setParsed</item>
    </item>
    </item>
    </argument>
    </field>





    share|improve this answer



























      0














      Try This



       <field name="category_id">
      <argument name="data" xsi:type="array">
      <item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
      <item name="config" xsi:type="array">
      <item name="label" xsi:type="string" translate="true">Category</item>
      <item name="componentType" xsi:type="string">field</item>
      <item name="formElement" xsi:type="string">select</item>
      <item name="component" xsi:type="string">Magento_Catalog/js/components/new-category</item>
      <item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
      <item name="dataScope" xsi:type="string">category_id</item>
      <item name="filterOptions" xsi:type="boolean">true</item>
      <item name="showCheckbox" xsi:type="boolean">true</item>
      <item name="disableLabel" xsi:type="boolean">true</item>
      <item name="multiple" xsi:type="boolean">true</item>
      <item name="levelsVisibility" xsi:type="number">1</item>
      <item name="sortOrder" xsi:type="number">30</item>
      <item name="required" xsi:type="boolean">true</item>
      <item name="validation" xsi:type="array">
      <item name="required-entry" xsi:type="boolean">false</item>
      </item>
      <item name="listens" xsi:type="array">
      <item name="$ $.namespace .$ $.namespace :responseData" xsi:type="string">setParsed</item>
      </item>
      </item>
      </argument>
      </field>





      share|improve this answer

























        0












        0








        0







        Try This



         <field name="category_id">
        <argument name="data" xsi:type="array">
        <item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
        <item name="config" xsi:type="array">
        <item name="label" xsi:type="string" translate="true">Category</item>
        <item name="componentType" xsi:type="string">field</item>
        <item name="formElement" xsi:type="string">select</item>
        <item name="component" xsi:type="string">Magento_Catalog/js/components/new-category</item>
        <item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
        <item name="dataScope" xsi:type="string">category_id</item>
        <item name="filterOptions" xsi:type="boolean">true</item>
        <item name="showCheckbox" xsi:type="boolean">true</item>
        <item name="disableLabel" xsi:type="boolean">true</item>
        <item name="multiple" xsi:type="boolean">true</item>
        <item name="levelsVisibility" xsi:type="number">1</item>
        <item name="sortOrder" xsi:type="number">30</item>
        <item name="required" xsi:type="boolean">true</item>
        <item name="validation" xsi:type="array">
        <item name="required-entry" xsi:type="boolean">false</item>
        </item>
        <item name="listens" xsi:type="array">
        <item name="$ $.namespace .$ $.namespace :responseData" xsi:type="string">setParsed</item>
        </item>
        </item>
        </argument>
        </field>





        share|improve this answer













        Try This



         <field name="category_id">
        <argument name="data" xsi:type="array">
        <item name="options" xsi:type="object">MagentoCatalogUiComponentProductFormCategoriesOptions</item>
        <item name="config" xsi:type="array">
        <item name="label" xsi:type="string" translate="true">Category</item>
        <item name="componentType" xsi:type="string">field</item>
        <item name="formElement" xsi:type="string">select</item>
        <item name="component" xsi:type="string">Magento_Catalog/js/components/new-category</item>
        <item name="elementTmpl" xsi:type="string">ui/grid/filters/elements/ui-select</item>
        <item name="dataScope" xsi:type="string">category_id</item>
        <item name="filterOptions" xsi:type="boolean">true</item>
        <item name="showCheckbox" xsi:type="boolean">true</item>
        <item name="disableLabel" xsi:type="boolean">true</item>
        <item name="multiple" xsi:type="boolean">true</item>
        <item name="levelsVisibility" xsi:type="number">1</item>
        <item name="sortOrder" xsi:type="number">30</item>
        <item name="required" xsi:type="boolean">true</item>
        <item name="validation" xsi:type="array">
        <item name="required-entry" xsi:type="boolean">false</item>
        </item>
        <item name="listens" xsi:type="array">
        <item name="$ $.namespace .$ $.namespace :responseData" xsi:type="string">setParsed</item>
        </item>
        </item>
        </argument>
        </field>






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 18 at 11:49









        Ghulam.MGhulam.M

        31211




        31211



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f230678%2fhow-i-add-category-chooser-in-custom-module-in-backend-magento-2%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Sum ergo cogito? 1 nng

            三茅街道4182Guuntc Dn precexpngmageondP