I have a ui component with a listing of products in magento 2.2, with a mass action function implemented. however when it submits, i need it to also pass over a parameters from the query string.
example listing url: https://mymagentostore.com/admin/wishlist/projects/additem/wishlist_id/1234/
here is my mass action:
<massaction name="listing_massaction" >
<action name="additem">
<argument name="data" xsi:type="array">
<item name="config" xsi:type="array">
<item name="type" xsi:type="string">additem</item>
<item name="label" xsi:type="string" translate="true">Add Selected Items to Project</item>
<item name="url" xsi:type="url" path="wishlist/project/saveitems"/>
<item name="confirm" xsi:type="array">
<item name="title" xsi:type="string" translate="true">Add Item</item>
<item name="message" xsi:type="string" translate="true">Are you sure you want to add selected item(s) to this projects?</item>
</item>
</item>
</argument>
</action>
</massaction>
I need to find a way to pass wishlist_id=1234 also when the mass action is submitted.