Forums

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

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 7 months, 2 weeks ago.

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

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