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

Forums OroCRM How to pass additional query parameters to ImportExport Button?

This topic contains 1 reply, has 2 voices, and was last updated by  igalayev 5 months, 2 weeks ago.

  • Creator
  • #59671


    I have an installation of orocrm2.0.

    I have created an entity named ContactStatus which is connected to Opportunity. I also created datagrid for ContactStatus that is showed in Opportunity view page based on opportunity id. Here is code-

    I also created export system for this ContactStatus on opportunity view page. Here is code-

    It is working properly and export entire data of ContactStatus which is correct according to what i have written.
    But i want to export only selected data which is shown in datagrid (contact-status-grid) according to opportunty id.

    Is there any way to pass additional query parameters (like here i want to pass OpportunityId )in ImportExport Button so that it only export filtered records?

Viewing 1 replies (of 1 total)
  • Author
  • #59672


    Hi, in your case you need to use grid export rather than entities export.
    In this case you’ll have an ability to export all displayed rows.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

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

Yes No