OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 6 years, 2 months ago.

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

  • Creator
    Topic
  • #30813

    kusum.gupta
    Participant

    Hi,
    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
    Replies
  • #30814

    igalayev
    Participant

    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)

The forum ‘OroCRM’ is closed to new topics and replies.

Back to top