Forums

Covering OroCommerce, OroCRM, OroPlatform topics, including community updates and company announcements.

This topic contains 3 replies, has 3 voices, and was last updated by Ahmad Golzar Ahmad Golzar 4 years ago.

  • Creator
    Topic
  • #34962

    mouali
    Participant

    Hi,

    We implement a Datagrid, for an entity. The action that load this datagrid receive has a request parameter, that we need to pass to next controllet throw the Datagrid Action.

    In datagrid.yml, we add a link:

    factureId is a parameter received throw Request, it’s a Get variable.

    The question: How shall we write in datagrid.yml inside of ??? in order that it work as we expect ?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #34963

    Alexandr Smaga
    Participant

    Hello.

    I think you can use callback property in order to fetch parameters from request.

    #34964

    mouali
    Participant

    Hi Alexandr,

    Thanks for your answer.

    Unfortunately, i already tested with callback property, but still undefined property error.

    Thanks

    #34965
    Ahmad Golzar
    Ahmad Golzar
    Participant

    Hi,

    This may be too late, but in case it helps:

    In params which is an array the key should be the name of the router variable and the value should be the key of the query results. In this example “somethingId” should be in the results of your query.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No
sso for www.magecore.comsso for oroinc.comsso for oroinc.desso for oroinc.frsso for marketplace.orocommerce.comsso for marketplace.orocrm.com