ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

  • Creator
    Topic
  • #5234

    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
  • #5264

    Alexandr Smaga
    Participant

    Hello.

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

    #5324

    mouali
    Participant

    Hi Alexandr,

    Thanks for your answer.

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

    Thanks

    #6277
    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.