OroPlatform Forums

Covering 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 6 years ago.

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

  • 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)

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

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

Yes No