Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow option to select how Assets should be matched #597

Closed
BenParizek opened this issue Aug 30, 2019 · 2 comments
Closed

Allow option to select how Assets should be matched #597

BenParizek opened this issue Aug 30, 2019 · 2 comments

Comments

@BenParizek
Copy link

BenParizek commented Aug 30, 2019

Description

Currently, when importing Users FeedMe presents a dropdown of the value we are providing that will be used to match the user, such as ID or Email.

With Assets, no similar option exists. Assets require that we provide a filename and don't give us an option to choose to match by ID if we know the Element ID we wish to match.

Perhaps my concern is misplaced, but I don't believe filenames need to be unique if they exist in different folders and an Asset Field could allow a user to upload Assets to more than one folder. While I expect it's an uncommon scenario and FeedMe is probably doing something behind the scenes to decide which file to match if two files of the same name exist as options to be selected in a given Asset Field, there is less need to ask questions about how all that works and to just use a unique ID if we happen to know it.

Additional info

  • Plugin version: FeedMe 4.1.2
  • Craft version: 3.2.x
@johnj24
Copy link

johnj24 commented Apr 28, 2020

I'm using the built-in Craft Element Exporter in Craft 3.4.13 and the exported JSON is an Element ID on the fields with assets. As far as I can tell, Feed Me doesn't know what to do with that data nor does it give me an option to select ID as the provided data like an Entries field would, for example (as pointed out by Ben). Am I missing something or are these two Craft features incompatible at the moment?

@ChrisReunionTech
Copy link

ChrisReunionTech commented Apr 20, 2021

I have to migrate thousands of images, some of them are bound to have the same filename despite being in completely different subfolders. Having a way of matching even on a custom field would be fine, like when matching with an Entry field. Is there a workaround in the meantime?

Currently, Feed Me seems to not be able to distinguish between two files that share the same filename, even when providing it the a path. Is there any update on this?

@craftcms craftcms locked and limited conversation to collaborators Aug 13, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Projects
None yet
Development

No branches or pull requests

5 participants