You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import 200 records from a google sheet, but the tags fields I'm trying to import is saved as a comma separated list of slugs, where as the tags field export output is an array of related tag id's. Is there anyway to use the slug instead of the id?
TIA
Chris
The text was updated successfully, but these errors were encountered:
Unfortunately no, because the import UI in Directus do the data processing in API level and do not involve any UI logic, and as the UI is just an app and the m2m-interface is just an extension to this app it only enhance the UI.
Anyway, as a dirty solution would be if your tags collection have as ID (primary key) the slug. Then you could easily import the tags without duplicates (exported from your spreadsheet too). Then as having already tags, importing the records will be straight forward, just need to alter the csv file to ensure the list is "['tag1','tag2']" and not "tag1,tag2"
Hi Dimitrov (or is it Adrian?),
I'm trying to import 200 records from a google sheet, but the tags fields I'm trying to import is saved as a comma separated list of slugs, where as the tags field export output is an array of related tag id's. Is there anyway to use the slug instead of the id?
TIA
Chris
The text was updated successfully, but these errors were encountered: