Re: [alfresco-tech] Migrating Jive social content to Alfresco

158 views
Skip to first unread message

Peter Monks

unread,
Jan 17, 2013, 3:14:11 PM1/17/13
to alfresco-techn...@googlegroups.com
G'day Chris,

The Jive Toolkit has a partial implementation of a Java client for Jive's OpenClient REST API [1].  That code was implemented to be independent of Alfresco and could form the basis of a more comprehensive client that supports things like bulk content export (which would be needed for the kind of migration you're describing).  That code is available here [2].

On the Alfresco side I'd suggest looking at the bulk import tool [3] (BFSIT).  If you can export the Jive content to disk in the format the BFSIT reads, you'll have a prebuilt import mechanism ready to go.

On Jan 17, 2013, at 10:45 AM, Chris Demaree <cdde...@gmail.com> wrote:

I'm aware of the Jive Toolkit which was developed to allow socialization of Alfresco documents in Jive, but has anyone gone further or actually switched from Jive to just using Alfresco/Share? I need to script a one-way transfer of the profiles, groups/sites, documents, discussions, etc. and would appreciate any suggestions or examples the group may have!

Thanks,
Chris

--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To view this discussion on the web visit https://groups.google.com/d/msg/alfresco-technical-discussion/-/O0WMjs1vtK4J.
To post to this group, send email to alfresco-techn...@googlegroups.com.
To unsubscribe from this group, send email to alfresco-technical-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/alfresco-technical-discussion?hl=en.

Peter Monks

unread,
Jan 17, 2013, 5:22:51 PM1/17/13
to alfresco-techn...@googlegroups.com
Yes you're quite right - I neglected to mention anything but content!

The bulk import tool will only handle file / folder content (and associated metadata), so those other items (users, sites, discussions) will need to be handled separately.  Will Abson's Share Import-Export tool [1] is worth looking at for some of these other asset types.

Cheers,
Peter

 


On Jan 17, 2013, at 12:30 PM, Chris Demaree <cdde...@gmail.com> wrote:

Thanks Peter. I already have the toolkit code and am familiar with the Jive API, but I'll take a look at the bulk import tool to see if it will be viable.

Trying to go about this methodically the first step is actually creating all the Jive users again in Alfresco along with their profile information. The users are not in LDAP so I suspect my only option will be to bulk export and import them as a CSV or iterate over the list in Jive and call the Add Person REST call in Alfresco for each.

-Chris
G'day Chris,
To unsubscribe from this group, send email to alfresco-technical-discussion+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.

Chris Demaree

unread,
Jan 22, 2013, 4:21:26 PM1/22/13
to alfresco-techn...@googlegroups.com
Peter,

Thanks again. With regard to the users I'm planning to script adding them via the REST API. I can easily POST a new person object based on the fields pulled from Jive, but we also need to customize the person model with some additional fields/aspects (like Alternate Phone # for example). How can I add aspects/metadata to a person object via the existing API? If I can't is there a way to use WebScripts to create my own REST call or extend the default one?

-Chris

Richard Esplin

unread,
Jan 31, 2013, 2:25:57 PM1/31/13
to alfresco-techn...@googlegroups.com
The best tutorial I am aware of for customizing the person object is this one:

http://ecmarchitect.com/archives/2012/02/27/1555

It is for version 3.4, but I don't believe the process is significantly different in 4.x (I haven't personally tried).

Good luck,

Richard

On Tuesday January 22 2013 14:21:26 Chris Demaree <cdde...@gmail.com> wrote:
> Peter,
>
> Thanks again. With regard to the users I'm planning to script adding them
> via the REST API. I can easily POST a new person object based on the fields
> pulled from Jive, but we also need to customize the person model with some
> additional fields/aspects (like Alternate Phone # for example). How can I
> add aspects/metadata to a person object via the existing API? If I can't is
> there a way to use WebScripts to create my own REST call or extend the
> default one?
>
> -Chris
<snip>

Chris Demaree

unread,
Feb 5, 2013, 2:29:55 PM2/5/13
to alfresco-techn...@googlegroups.com
Richard,

We ended up following that guide pretty closely. My question was more about not understanding if that actually allowed us to create new users (with custom details) in a single API call. We ultimately settled for separate create and update calls to get all the custom fields moved over.

We're moving on to mapping Jive social groups to sites, and likely continuing to roll our own rather than rely on the bulk filesystem import.

Thanks,
Chris

Richard Esplin

unread,
Feb 5, 2013, 2:35:21 PM2/5/13
to alfresco-techn...@googlegroups.com
Thank you for sharing what worked for you!

Good luck,

Richard

On Tuesday February 5 2013 12:29:55 Chris Demaree <cdde...@gmail.com> wrote:
> Richard,
>
> We ended up following that guide pretty closely. My question was more about
> not understanding if that actually allowed us to create new users (with
> custom details) in a single API call. We ultimately settled for separate
> create and update calls to get all the custom fields moved over.
>
> We're moving on to mapping Jive social groups to sites, and likely
> continuing to roll our own rather than rely on the bulk filesystem import.
>
> Thanks,
> Chris
>
> On Thursday, January 31, 2013 2:25:57 PM UTC-5, resplin wrote:
> >
> > The best tutorial I am aware of for customizing the person object is this
> > one:
> >
> > http://ecmarchitect.com/archives/2012/02/27/1555
> >
> > It is for version 3.4, but I don't believe the process is significantly
> > different in 4.x (I haven't personally tried).
> >
> > Good luck,
> >
> > Richard
> >
> > On Tuesday January 22 2013 14:21:26 Chris Demaree <cdde...@gmail.com<javascript:>>
Reply all
Reply to author
Forward
0 new messages