An excellent module, that works very well for me, but it would be nice to be able to declare an audience field in the CSV file.
Currently all nodes are published to the "public" audience by default, and I cannot find a way to overide this value, apart from editing each individual node once they have been imported.

Hope this makes sense.

Thanks
Stephen

CommentFileSizeAuthor
#2 example_1.png7.07 KBspjsche

Comments

Robrecht Jacques’s picture

Do you mean the "published" flag in the "Publishing options"? Or do you set this "audience" with some kind of contrib module?

If you mean the first: if a user has the permission to "administer nodes", he will have the option to either:
- set the "published" flag on/off for every node at the start of the import (the "global options" page), or
- map one of the columns of the CSV file to "Node: Published" (on the "mapping" page).
The value of the column would then need to be 1 or 0. Or empty if you want to use the default value.

Does this not work?

If you mean the latter, please tell me which contrib module.

spjsche’s picture

StatusFileSize
new7.07 KB

Sorry for the confusion.

I have the Organic Groups module installed, and users can submit a "content type" to one or more groups to which they are subscribers.

One of the requirements when submitting a "content type" (ie Daily News Report to the Daily News Group) is that they must choose at least one group (the "audience" check box as shown on the form) otherwise the form submission fails by asking you to choose an "audience".

Hence my problem.

I have attached a screen shot as an example,

Thanks
Stephen

Robrecht Jacques’s picture

Assigned: Unassigned » Robrecht Jacques

OK understood. At the moment this is not possible, but I'll implement it this weekend.

spjsche’s picture

I must say, I thank you for your time in advance.

Thanks
Stephen

spjsche’s picture

One question I do have is, are there any restrictions in how many entries that can be imported at one time ?

It's just that I am trying to import over 3000 entries, and for some reason after a while I get a blank screen and only about 300 records imported.

Thanks
Stephen

spjsche’s picture

Having thought about my original question, perhaps the audience field should be in the startup form, like when choosing the content type option, prior to importing the data.

Thanks
Stephen

moshe weitzman’s picture

Status: Active » Closed (duplicate)