I have a .csv that I am trying to import that has two columns for multi-reference fields (category and department).
These multi-reference fields are used to filter collection items based on the department and then by category to organize the dynamic lists into sections on a page.
I can’t see a way to “map” which collection item relates to which department or category on import as the system has the multi-reference fields grayed out and won’t let me map my .csv fields to them.
Hi @EOC, Mapping for those fields is not available at this time. However, that would be an awesome improvement to have for that feature, and is something you could definitely post about in our Webflow Wishlist.
Hello @cyberdave thanks for the quick reply, that’s a bummer to say the least.
We were thinking about migrating some WordPress clients in the near future, but how is this a truly viable option for migrating blog content if you can’t pull multi-reference fields? All the categories would be left behind for manual input later… Doesn’t the defeat the purpose?
Also, you may want to make a note to someone to update the how to article on .csv import to mention this… I wasted a lot of time creating a .csv that won’t work.
Hi @EOC, no worries, you raise a valid point about the multi-reference fields. More support for this will likely come, but I do not have the timeline yet for that.
Multi-reference fields were not included to the first phase of CSV import and now that this feature is in production, it will continue to be updated and improved.
Many of the features now in Webflow have been requested in the past by customers who have trusted Webflow to build the features they need. Stay tuned!
Wonder if there are any updates on this. I am trying to import 150 films with all data for a festival, and would need to map the films to Tag and Series collections. So for instance one film would come with three tags, that would already be in another collection in webflow.
Can I multi refer these automatically? Or do we need a couple of days extra budget to map them manually
We solved the issue by importing without the references and afterwards using the Webflow API to update the reference fields. Was a bit of manual work, but worked just fine.
@andre9000 thanks for the news of a workaround on this. It’s been a major issue for us too when creating CMS content from external files. Can I ask how you did it?? You did one pass that imported the .csv with the reference fields left blank - then what? Did you use zapper or any other automation in your process? Any guidance on this would be much appreciated. Cheers Dylan
Hi @andre9000
I’m trying to do something like this, I have about more 1,000 items in a collection, each has 4 multi-reference field, I’ve already loaded my csv without the multireference.
I don’t understand how to download the csv from api, because I can only get a json file from that, non un csv.
I already can see the id’s of my multirefence from the API.
I need to understand how to download rewrite the file and reload it.
You could better explain the process you have used? could be the only solution to my problem.
one possibility would be to reattempt the request every few seconds, until it succeeds. We recently did a bulk update for several collections with this code, it dealt with the rate limit just fine:
thanks, seems clear what that function has to do, but I’m a real noob with javascript and json,
can I see how you declare this variables?
webflow,
collectionId,
itemId,
map ← this is the json of all field I want to change correct?
I’m trying to define that variable, but I still get always this error
(node:4297) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property webflow of 'undefined' or 'null'. at updateAllItems (/Users/mattia/Downloads/cms/update-all.js:14:30) at Object.<anonymous> (/Users/mattia/Downloads/cms/update-all.js:62:1) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Function.Module.runMain (internal/modules/cjs/loader.js:754:12) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3) (node:4297) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:4297) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.