How to export only selected row in csv in backpack laravel - laravel-backpack

I have using pro version of backpack for laravel.
I have used enableExportButtons in list operation to export data.
I have also used enableBulkActions to enable checkbox in each rows.
Now, I want to export only selected rows. How can I do this?

Backpack doesn't have a built-in way to do that, it just uses the Export functionality from DataTables. The only way I see possible right now is to create a custom operation that downloads a PDF with the Show view.
We do have a closed-source operation that does just that, we call it "Download". If you're interested please contact the Backpack team.

Related

Realtime datatable with asp.net core web app , EF core and SignalR

I want to retrieve data from Sqlserver database with EntityFramework core and do crud operations and show data table to client without refreshing the page (Realtime) , is there any source or example in this case ?
Not sure there is a definitive source for this, but it's not that hard to build yourself.
It should be relatively straight forward. In general you'd need
A model for the grid that defines the properties to show and edit, and also which row is selected.
An HTML Helper to change the rows from read-only to editable
A view to display the table.
An [edit] action link for each row enables you to select a row by ID for editing, and after clicking it, reloads the page and then the view can respond accordingly to change the type of the row from read-only to editable.
You could use Blazor or maybe Ajax to change a row from read-only to editable without refreshing the page, but I'm not sure if you need to meet certain requirements that discard using either of them.
John Ciliberti has written a recipe for a book, that works just like I described, find it on his Github page to get some ideas of what's involve.
If you need a more out-of-the-box solution, perhaps consider wiring up DataTables.js.

SugarCRM: How to filter query in subpanel Select popup that is specific for one module only

I am using SugarCRM 6.5. I have a Users subpanel from my custom module. When I click Select, I need to filter the list of users. The challenge is it will only filter when triggered from the custom module and should not from other module using the User popup.
Tried this solution How I can customize query in view.popup in SugarCRM but it doesn't work on my end.
I manage to filter from User.php, adding the query filter in create_new_list_query, however it affects other module (it filters when it should not). I cannot figure out how to add condition for the custom module specific. It seems like it does not know what module that triggers the User popup.
Any possible solutions?
Your answers will be highly appreciated. Thank you!

Add Custom User Field (Dropdown) in Moodle

Hi I need to add Custom User Field (Dropdown) in Moodle. I know I can add it through https://docs.moodle.org/24/en/User_profile_fields and https://docs.moodle.org/dev/User_profile_fields
I went ahead with above method and added dropdown accordingly. However, when I see it in database, {user_info_field} it shows only one row with my select fields seperated by new line. Screenshot is listed.
I want these params to be appear in separate rows. Because, I've few development in pipeline which involves creation of custom invoicing plugin that allows to store pricing for each university.
That is how dropdown fields store their options in Moodle - all the values, separated by newlines.
If you want a list of possible values, retrieve mdl_user_info_field.param1 then use explode("\n", $fieldvalue).
I Used in built cohort system to categorized users in different University. Here I didn't have to create custom profile field.
For invoicing plugin, I will manipulate same cohorts (in my case University) by creating local plugin which adds tables to database field. Thank you all for your help.

Magento - Import/export custom options

by default in Magento, it is not possible to export a products' csv file containing the custom options. Each product on our site contains tons on custom options and we need to upload from scratch 400 products. Anyone has a non-commercial solution for this or can point me in the right direction? Do I need to create a custom Dataflow?
Any help is appreciated.
did you check out MAGMI? This is great and free importing tool for Magento, supports products custom options as well. Check out this cheat sheet for getting an idea how your CSV must look like. The format is like following (first line is CSV header defining the parameters of your custom optinos - label:type:flag whether is required option:position)
Size:drop_down:1:2 Design:file:0:1
Small|Medium:fixed:5|Large:fixed:10 Design image file:fixed:0:Ref file::jpg,png:500:300
XS:percent:5|S:fixed:5|M|L|XL Design image file:fixed:0:Ref file::txt:500:300

Oracle Application Express plugin development using v4.2.2

I am working on some Oracle APEX Plugin development and wonder whether the following requirement is possible.
I basically would like to be able, via a plugin, create a form with say six page items, where two of those page items might be LOVs, another two are page items are text fields, where users have to enter values and the remaining two are display items only.
Based on this form requirement, I want to be able to upload/install this plugin within other Oracle Application Express apps/schemas, so when installed within other apps, this plugin is rendered within a region and the data is stored within a table in that schema, but using the form described above.
Can this be achieved building a plugin in Oracle APEX, and if so, how?
Create a stock application with the pages and regions that need to be replicated, export that, and import it into the other workspaces that need it. Then, when developing an application, copy the regions and/or pages as necessary from that stock application.