Combination View Flat View Tree View
Threads [ Previous | Next ]
Samita Bhujbal
Changing groupId in calevent table
July 5, 2013 6:12 AM
Answer

Samita Bhujbal

Rank: Regular Member

Posts: 120

Join Date: July 5, 2011

Recent Posts

Is it feasible to change groupId in calevent table??
Ray Augé
RE: Changing groupId in calevent table
July 5, 2013 7:06 AM
Answer

Ray Augé

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1238

Join Date: February 7, 2005

Recent Posts

Only if you take care to follow all associations and do the same.

Otherwise you may have severe problems with this like permissions, assets components (tags, categories), etc.
Tonu Sri
RE: Changing groupId in calevent table
July 5, 2013 10:42 AM
Answer

Tonu Sri

Rank: Regular Member

Posts: 188

Join Date: April 15, 2011

Recent Posts

Hi Samita,

As explained by Ray, You can change it but you have to take care about all dependencies for example userId , CompanyId, assets etc.

But I wanted to know, what is your use case?

Thanks:
Tonu
Thiago Leão Moreira
RE: Changing groupId in calevent table
July 5, 2013 12:48 PM
Answer

Thiago Leão Moreira

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1365

Join Date: October 10, 2007

Recent Posts

One use case is push an asset to the global scope.
Tonu Sri
RE: Changing groupId in calevent table
July 5, 2013 8:44 PM
Answer

Tonu Sri

Rank: Regular Member

Posts: 188

Join Date: April 15, 2011

Recent Posts

Hi Thiago,

If that's the case, then they should take care userId also, only change in groupId is not going to work.

If they have any user who has permission for adding CalEvent in their organization or Site and not having access to Global Calendar.

In this case they will face issue if they are not having proper constraints.

Thanks:
Tonu