Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mod_import_csv - Handle incoming edges #1690

Closed
fredpook opened this issue May 11, 2017 · 5 comments
Closed

mod_import_csv - Handle incoming edges #1690

fredpook opened this issue May 11, 2017 · 5 comments

Comments

@fredpook
Copy link
Contributor

Currently only outgoing edges can be imported. This used to be very handy for handling user import and assigning them to usergroups (with hasusergroup). But since the addition of collaboration groups we would like to assign them with hascollabgroup (an incoming edge to the user).
Is it possible to check the predicate definition for the direction?

@mworrell mworrell self-assigned this May 11, 2017
@mworrell mworrell added this to the 0.29 milestone May 11, 2017
@ddeboer ddeboer modified the milestones: 0.29, 0.30 Jun 5, 2017
@ddeboer ddeboer modified the milestones: 0.30, Roadmap Jul 5, 2017
@mworrell mworrell modified the milestones: 0.32, Roadmap Aug 15, 2017
@mworrell
Copy link
Member

Added support for incoming and outgoing edges. Use > author or < author (where author can be any predicate name) as column headers. In the field there should be a resource name or id.

@mworrell
Copy link
Member

In testing with @fredpook, if ok then we merge this into master as well.

@fredpook
Copy link
Contributor Author

Works perfect!

this is an example of importing persons and assigning them to collaboration groups
import_persons_in_collabgroups.txt

@mworrell
Copy link
Member

Good example, I will add it to the documentation.

@ddeboer
Copy link
Member

ddeboer commented Sep 4, 2017

Created a separate issue for the docs: #1810.

@ddeboer ddeboer closed this as completed Sep 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants