Difference between revisions of "Import Groups From CSV"

(Requirements)
m (CSV Format)
 
(4 intermediate revisions by one other user not shown)
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.
 
* '''privacy''' - group privacy, where '''0''' is open group while '''1''' is closed group.
 
* '''privacy''' - group privacy, where '''0''' is open group while '''1''' is closed group.
* '''short description''' - short group description.
+
* '''short_description''' - short group description.
* '''full description''' - full group description.
+
* '''full_description''' - full group description.
* '''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==
  
1. Browse to Backend -> Components -> JomSocial -> Groups -> View groups<br>
+
* Browse to '''JomSocial Dasboard''' in the backend then click on '''Groups''' -> '''View groups'''
 +
* Click '''Import groups from .CSV''' button
 +
:::[[File:Oc6hmvw.png ]]
 +
* Click '''Browse''' button and locate file on your hard drive, confirm your choice.
 +
:::[[File:RvmcXpz.png]]
 +
* Click '''Import groups''' button.
 +
:::[[File:68bksNs.png ]]<br>
  
2. Click "Import groups from .CSV"<br>
+
File should be uploaded and groups created.
  
[[File:Oc6hmvw.png ]]<br>
+
==See Also==
 
+
* [[Users Export and Import from CSV]]
3. Click "Browse" button and locate file on your hard drive, confirm your choice.<br>
+
 
+
[[File:RvmcXpz.png]]<br>
+
 
+
4. Click "Import groups" button.<br>
+
 
+
[[File:68bksNs.png ]]<br>
+
 
+
File should be uploaded and groups created.
+

Latest revision as of 07:11, 16 November 2017

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

  • Browse to JomSocial Dasboard in the backend then click on Groups -> View groups
  • Click Import groups from .CSV button
Oc6hmvw.png
  • Click Browse button and locate file on your hard drive, confirm your choice.
RvmcXpz.png
  • Click Import groups button.
68bksNs.png

File should be uploaded and groups created.

See Also