I've imported a batch of store-records into umbraco using the great CMSimport package, from an excel file. There's one column which resembles the categorie(-nodeID's), and essentially it looks somewhat like this: "1106,1265,3543".
The category property in my doctype is a Multi Node Tree Picker (stored as CSV).
After I've imported my store-records and i open a store-node, I see that the corresponding categories appear selected in the MNTP for a fraction of a second, but then disappears again...
MNTP is only supported for Media in CMSimport. But you are assigning Umbraco Id's? If so check the cmsPropertyData table and see how MNTP stores this when setting the value from the GUI. Use exactly the same format in you datasource column and it should work.
I got it to work. I had re-imported the categories (so the nodeids had all changed) and I was still importing the old nodeID's. Reimporting the store with the correct nodeids for the categories (as a comma separated string) worked perfectly.
Import to MNTP ?
Hi,
I've imported a batch of store-records into umbraco using the great CMSimport package, from an excel file. There's one column which resembles the categorie(-nodeID's), and essentially it looks somewhat like this: "1106,1265,3543".
The category property in my doctype is a Multi Node Tree Picker (stored as CSV).
After I've imported my store-records and i open a store-node, I see that the corresponding categories appear selected in the MNTP for a fraction of a second, but then disappears again...
Anybody have any idea how to make this work?
thanks
J
Hi Jan,
MNTP is only supported for Media in CMSimport. But you are assigning Umbraco Id's? If so check the cmsPropertyData table and see how MNTP stores this when setting the value from the GUI. Use exactly the same format in you datasource column and it should work.
Hope this helps. if not please let me know
Richard
Hi Richard,
I got it to work. I had re-imported the categories (so the nodeids had all changed) and I was still importing the old nodeID's. Reimporting the store with the correct nodeids for the categories (as a comma separated string) worked perfectly.
thanks!
Jan
is working on a reply...