Hello, I am building a D7 site Using Drupal Commerce and Commerce File which sells file downloads. The files are software bundles and not all users will need every file. Rather than requiring everyone to download everything, we would like to allow users to select and download only the files of interest to them. This was successfully accomplished using VBO as described on http://drupal.org/node/1222844.
In order for the above solution to be implemented, a Files base table was needed. This View initially has a short list of Relationships available to it (File: User who uploaded, File Usage: Comment, etc.) However, as more tables are related, this list of available options grows.
I would like to display related data (like order number) but am unable to find the Relationship which tells Views it's in the commerce_line_item table. How does one map a database to find the "chain" of Arguments needed to expose the required data?
Comments
Comment #0.0
nonprofit commentedGrammatical changes.
Comment #1
kars-t commentedHi
I am closing this issue to clean up the issue queue. Feel free to reopen the issue if there is new information and the problem still resides. If not please make sure you close your issues that you don't need any more.
Maybe you can get support from the local user group. Please take a look at this list at groups.drupal.org.
Comment #2
nonprofit commentedHi Kars-T, thanks for your comment.
To be fair, the issue remained open because it never received a response. We ended up changing the scope because I did not have the knowledge of how to configure Views to meet the requirement. However, I would love to someday revisit this and rebuild as originally intended. if anyone ever wants to document how to "map" more complex relationships, that would be great.
Thanks. I'm a regular attendee and frequent speaker at our group and this was outside of their area of expertise, as well.
Thanks, have a great one.
Comment #3
dawehnerWell if you have some kind of abstract relationship between a file and the data in commerce you might should fill a feature request for drupal commerce, but sure depending on the actual data structure this might be moved back to views, as there could be a generic solution.
Comment #4
kars-t commentedHi NoneProfit
I really cleanup the issueque so please don't take this as offense. There are more than 2.000 Views issues and by this the queue is basically unmaintainable. So I am closing anything that is more than 6 months old. And the text is a default and nothing specially for you. As I have a complain rate below 1% I believe it is the right thing to do and to point any maintainer to the "real" issues. I am sorry that this did hit you but at least I would have forgotten about issues that old ;)
See you in munich or portland!
Cheer Kars-T
Comment #5
nonprofit commentedHi dawehner,
Thanks for the suggestion. However, everything on the Commerce side is functioning correctly. My problem is rendering the fields I'd like using the Files base table.
Hi Kars-T,
No offense taken; I understand the need to close old issues. I plan to be in Portland.
-NP
Comment #6.0
(not verified) commentedand download :)