Hello, please, can you help me with the following please.
In my app, from the Schedules table, I add the option to be able to export to csv, but I only need to export the selected rows, is this possible?
I await your comments.
Thank you.
You could try the following option
on the action that is โexport to CSVโ we only see the DATA tables โฆno Slices or views. We want to download from a slice.
I have no idea what you are saying or asking.
Actions are always attached to tables, not slices or views. Actions can the be used in views that use the actionโs table or a slice atop that table.
The Export to CSV action will export the rows contained in the view from which the action is performed. It is up to you to make the action available (e.g., to display the action button) only in those views that contain only the rows that should be exported. To export the entire table, display the button in a view of the entire table. To export the rows of a slice, display the button in a view of the slice. To export only select records by some arbitrary criteria, display the button in a view referenced by a LINKTOFILTEREDVIEW() expression in a navigation action.
we have a view that has only the items we want exported, when we click on the icon to download the csv it downloads the entire table.
The table reference in the action.
So are you posting here to report a bug, or are you asking a question, or what? Please show screenshots of this happening, because it certainly doesnโt happen like that on my end.
we have a view based on a slice. This view only shows the records I want to export to CSV. See the attachment for the view setup.
I have also included the action on that slice/view. It will download the whole CAR table, not just my view.
It โwillโ, or it did?
it exports all the records in the table even though my view is showing a subset of the records based on a slice.
As Steve just said, sounds like a bug then.
It seems like the download ignores the useremail() formula. We use it it in our slice but it is ignored on the download.
I am having exact the same issue as @llheath , did you manage to filter out a solution or was it confirmed a bug from AppSheet ?
Could we get a screenshot of the My CAR Requests slice configuration?
so we have the action on a view of this slice
The view works perfect. but when we click the action everything in the CAR is exported not just the records that are seeing in the view obtained from this slice.
It all looks good to me (though thereโs a lot to follow, and I might be overlooking something). As far as I can see, you should be getting your desired behavior. That youโre not suggests a bug. A bug means youโre going to have to engage Support. Someone there will be able to dive into your app configuration directly and figure out whatโs going on.
https://www.appsheet.com/Support/Contact
Sorry I couldnโt help! Please let us here know what you and Support work out!
I do have the a view that is based on a slice (so I am only seeing the records I want to export)
The action is displayed on that view.
When I click on the action the entire table is exported not the view I am looking at.
Here is the view setup and the action:
(CAR is the entire table)โฆ
action:
using LINKTOFILTEREDVIEW() is a good option, but I couldn't find any way to filter rows that I have manually selected, the only way I found is to use an intermediate action to mark rows by setting a specific flag field, as suggested by @Marc_Dillon
Thank you very much @Marc_Dillon for your help. I understand what you are telling me, and the idea is very good. But as it indicates to me, I would have two screens, one where I select the records, and then I should navigate to another screen where from there if they downloaded the previously selected records, is that right?
My need is to be able to make the selection and download from the same screen.
I imagine it should work just like the delete option does โฆ
I select and delete. With the difference that in the case that I propose, it would be select and download โฆ
This is possible this?
Thank you in advance for your kind help!
Not exactly.
But here is another option. Note that you donโt use Appsheetโs CSV download Action for this.
I want to change CAR to be my view or slice.
User | Count |
---|---|
14 | |
11 | |
9 | |
7 | |
4 |