Difference between revisions of "Import Groups From CSV"

(Requirements)
(Requirements)
Line 5: Line 5:
 
This is useful feature when you need to create a lot of predefined groups. In that case all you need is to create CSV file.
 
This is useful feature when you need to create a lot of predefined groups. In that case all you need is to create CSV file.
  
==Requirements==
+
==CSV Format==
  
Obligatory columns are:
+
Your CSV files needs to be formatted in following order:
  
 
* '''name''' - group name.
 
* '''name''' - group name.
Line 15: Line 15:
 
* '''category id''' - category ID to which group should be assigned.
 
* '''category id''' - category ID to which group should be assigned.
  
An example of CSV file can be seen [https://drive.google.com/file/d/0BznGoCwkCWFXeU5QNVE3bVlSZEE/view?usp=sharing here]
+
An example of CSV file can be downloaded [http://documentation.jomsocial.com/downloads/groupsimport.csv here]
  
 
==Import==
 
==Import==

Revision as of 02:51, 10 March 2016

From JomSocial 4.1.3

Overview

This is useful feature when you need to create a lot of predefined groups. In that case all you need is to create CSV file.

CSV Format

Your CSV files needs to be formatted in following order:

  • name - group name.
  • privacy - group privacy, where 0 is open group while 1 is closed group.
  • short description - short group description.
  • full description - full group description.
  • category id - category ID to which group should be assigned.

An example of CSV file can be downloaded here

Import

1. Browse to Backend -> Components -> JomSocial -> Groups -> View groups

2. Click "Import groups from .CSV"

Oc6hmvw.png

3. Click "Browse" button and locate file on your hard drive, confirm your choice.

RvmcXpz.png

4. Click "Import groups" button.

68bksNs.png

File should be uploaded and groups created.