OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions How do I create entity select form type to show in workflow transition

This topic contains 1 reply, has 2 voices, and was last updated by  Yevhen Shyshkin 8 years, 1 month ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #28858

    lapino
    Participant

    Hi,

    I’m trying to create a select form type to list all values from an entity but i got an error :

    When I dump the $config parameter in SearchHandler::initSearchIndexer before error thrown I don’t see the ‘Bga\Bundle\SalesBundle\Entity\ActivityCategory’ key that is the entity I’m trying to retrieve.

    Am I missing something ?

    First in workflow transition :

    Form type in Bundle/Form/Type/ActivityCategorySelectType.php :

    And finally serach handler and form type services :
    In form.yml :

    And in services.yml :

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #28859

    Yevhen Shyshkin
    Participant

    Hello.

    Please, make sure that your entity is included in search index – default search handler uses search index to get list of an entities.

Viewing 1 replies (of 1 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top