anuks_rain
Community profile anuks_rain Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 14-02-2011 1:42:10 AM
Offline
Top badges earned by anuks_rain
Customize the badges you want to showcase on your profile
Insufficient permissions to create node on Note component
Avatar
Level 1
anuks_rain
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
anuks_rain
- Adobe LiveCycle
Hi team,I am creating a simple chat app in LCCS. Our guest have role of 50 and we are using knocking feature. I have added all the components and they work fine for both the guest and host except for notes component. When we have notes component in the code when the guests comes in (before the acceptance in the queue) , we get following exception. We can just dismiss the exception and everything works fine. Why are we getting the exception?. Here is the stack trace,Error: MessageManager.createNo...

Views

718

Likes

0

Replies

1
Re: User Roles and Knocking Queue Clarification
Avatar
Level 1
anuks_rain
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
anuks_rain
- Adobe LiveCycle
Here is the stack trace:Error: MessageManager.createNode : insufficient permissions to create node atcom.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::createNode()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/depot/branches/connect/1010/cocomoPlayer10.1/src/com/adobe/rtc/messaging/manager/MessageManager.as:273] atcom.adobe.rtc.sharedModel::CollectionNode/createNode()[/Users/arun/Work/aponnusa_theoden.corp.adobe.com_1666/depot/br...

Views

37

Likes

0

Replies

0
User Roles and Knocking Queue Clarification
Avatar
Level 1
anuks_rain
Level 1

Likes

0 likes

Total Posts

3 posts

Correct reply

0 solutions
View profile
anuks_rain
- Adobe LiveCycle
Hi,Need some clarification about Roles and Knocking Queue.Am creatng a simple video chat app, for that i want to make queue management for my guests. Create this application using LCCS sample code, but getting user role as 5 for guest and it throws error, when autopromote is true.The basic code am using for chat, --> [Binadle] private var gusetName:String = "Queue Testing"; [Binadle] private var roomURL:String = "ROOMURL"; [Binadle] private var pendingArray:Array; [Binadle] private var acceptedArray:Array; [Binadle] private var deniedArray:Array; import com.adobe.rtc.events.UserQueueEvent; import com.adobe.rtc.messaging.UserRoles; import com.adobe.rtc.sharedManagers.RoomManager; import com.adobe.rtc.sharedManagers.constants.UserStatuses; import com.adobe.rtc.sharedModel.UserQueue; import com.adobe.rtc.sharedModel.userQueueClasses.UserQueueItem; private function onCreationComplete():void { cSession.roomManager.autoPromote = true; cSession.roomManager.guestsHaveToKnock = true ; if ( cSession.userManager.myUserRole == UserRoles.OWNER ) { pendingArray = new Array(); var queue:Array = cSession.roomManager.knockingQueue.pendingQueue ; for ( var i:int = 0 ; i < queue.length ; i++ ) { var item:UserQueueItem = queue[i] as UserQueueItem ; pendingArray.push({label:item.descriptor.displayName,descriptor:item.descriptor}); } cSession.roomManager.knockingQueue.addEventListener(UserQueueEvent.ITEM_UPDATE,onKnockingQueueUpdate); } else { knockingUI.visible = false; } if ( cSession.userManager.myUserRole == UserRoles.LOBBY ) { cSession.roomManager.knockingQueue.addEventListener(UserQueueEvent.ACCEPT,onMyAccept); cSession.roomManager.knockingQueue.addEventListener(UserQueueEvent.DENY,onMyDeny); } } private function onKnockingQueueUpdate(p_evt:UserQueueEvent):void { pendingArray = new Array(); acceptedArray = new Array(); deniedArray = new Array(); var queue:Array = cSession.roomManager.knockingQueue.queue ; for ( var i:int = 0 ; i < queue.length ; i++ ) { var item:UserQueueItem = queue[i] as UserQueueItem ; if ( item.status == UserQueueItem.STATUS_PENDING ) { pendingArray.push({label:item.descriptor.displayName,descriptor:item.descriptor}); } if ( item.status == UserQueueItem.STATUS_ACCEPTED ) { acceptedArray.push({label:item.descriptor.displayName,descriptor:item.descriptor}); } if ( item.status == UserQueueItem.STATUS_DENIED ) { deniedArray.push({label:item.descriptor.displayName,descriptor:item.descriptor}); } } } private function onAcceptClick(p_evt:MouseEvent):void { if ( cSession.userManager.myUserRole == UserRoles.OWNER ) { cSession.roomManager.knockingQueue.acceptUser(knockingList.selectedItem.descriptor.userID); } } private function onDenyClick(p_evt:MouseEvent):void { if ( cSession.userManager.myUserRole == UserRoles.OWNER ) cSession.roomManager.knockingQueue.denyUser(knockingList.selectedItem.descriptor.userID); } private function onMyAccept(p_evt:UserQueueEvent):void { knockingUI.visible = true; simpleChat.width = 300 ; simpleChat.height = 150 ; } private function onMyDeny(p_evt:UserQueueEvent):void { knockingUI.visible = false; } Thanks,anu

Views

822

Likes

0

Replies

3