Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Mark_bfc
Mark_bfc
Offline

Badges

Badges
7

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts & Comments

Posts & Comments
19

Discussions

Discussions
0

Questions

Questions
4

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Mark_bfc
Customize the badges you want to showcase on your profile
Re: Problem with FileShare pod - Adobe LiveCycle 11-01-2010
Hi Hironmay From the debug output, I can see that my guest has permission role PUBLISHER - 50RECEIVED LOGIN AT SESSION .user descriptor from server [object] \\ .displayName [string]= guest .role [number]= 50 .userID [string]= GUEST-A6E3985A-92A0-4518-832D-9775CDD13673 .affiliation [number]= 5 I am not sure why the room is not Active. If only guests are in the room, does this mean that the room is not Active? I'll try extending the code and see if I can work around the issue that way. Thanks for ...

Views

296

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 11-01-2010
Hi Hironmay Do you have any feedback regarding this? I would really love to use the FileShare component, but I cannot get it to work when logged into the room as a Guest. The AFCS code above (Subscribe function) in FileShare.as seems incorrect to me. I don't think the component id should be used by AFCS - I think it should only be used by Flex. It should require the sharedID to be set. I beleive that the line ' if ( id == null ){' is incorrect because id can never be null. When I add the sharedI...

Views

295

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 05-01-2010
Hi Hironmay I now know where _FileShare_FileShare1 is coming from. It is the default id given to the FileShare UI component by Flex (as I am not explicitly specifying an ID). My parent component (my AIR Window which contains the FileShare component) is named FileShare. Flex automatically assigns the FileShare component an id of _[parentname]_[ComponentName]x . If I had named the window component 'MyWin' _MyWin_FileShare1 would be passed in. This default ID is then passed into the AFCS code. Take...

Views

309

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
I tried both cSession.fileManager.removeGroup('_FileShare_FileShare1') and creating a brand new room, but I get the same results.

Views

315

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
Here is some simple code that demonstrates my problem (you can add sharedID="default_FileSharePod" to rtc:FileShare tag to see my 2nd problem about the uploaded file not showing): import com.adobe.rtc.authentication.AdobeHSAuthenticator; import com.adobe.rtc.events.SessionEvent; import com.adobe.rtc.session.ConnectSession; import mx.events.FlexEvent protected function windowedapplication1_initializeHandler(event:FlexEvent):void { connectToRoom("firstRoom"); } private var authenticator:AdobeHSAuthenticator = new AdobeHSAuthenticator(); [Bindable] public var connectSession:ConnectSession = new ConnectSession(); public function connectToRoom(roomName:String):void { authenticator.userName = "guest"; connectSession.authenticator = authenticator; connectSession.roomURL = [YOUR ROOM URL HERE]; connectSession.addEventListener(SessionEvent.SYNCHRONIZATION_CHANGE, onConnectionChange); connectSession.login(); } private function onConnectionChange(event:SessionEvent):void { this.connectSession = event.currentTarget as ConnectSession; }

Views

293

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
Actually I spoke too soon. Now I can select a file to Upload, but after selecting a file to upload, the file never appears in the list.

Views

316

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
That's the thing, I do not know where the name _FileShare_FileShare1 is coming from. I can see (from the Room Console) that the room contains the folder named default_FileSharePod. Anyway, I got it to work by doing the below:Now I can click the upload button, and p_nodeName is 'default_FileSharePod'. The code is happy and lets me select a file. However, I am still puzzled why it was looking for a node named _FileShare_FileShare1. I have searched the AFCS code and my own, and can't find any refer...

Views

295

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
Hi Hironmay Thanks for your quick replies. I set the 'publish model' for the FIle folder down to 10, but I am still seeing the same problem. I went deeper into the AFCS code (when clicking on the uploadbutton), and I get to the following function in CollectionNode.aspublic function canUserPublish(p_userID:String, p_nodeName:String):Boolean { if (!isNodeDefined(p_nodeName)) { return (getUserRole(p_userID, p_nodeName)>=UserRoles.OWNER); }p_nodeName is _FileShare_FileShare1There is no node named '_...

Views

295

Likes

0

Replies

0
Re: Problem with FileShare pod - Adobe LiveCycle 04-01-2010
I hooked up the source for the FP9 afcs.swc, and stepped through the afcs code. It turns out that it is a permissions problem. I get to the following code in FilePublisher.as when I click on the upload buttonpublic function browse(p_itemID:String, p_typeFilter:Array=null):void { // Don't open this up if the user doesn't have upload permissions. if(!_model.canIUpload(_groupName)) { showAlertMessage(_lm.getString("You do not have sufficient permission to perform the upload operation.")); return; }...

Views

293

Likes

0

Replies

0
Problem with FileShare pod - Adobe LiveCycle 04-01-2010
Hi, I am trying to set up the file share pod, but am getting a problem where the 'Upload a file..' but is enabled, but clicking on it does nothing. The fileshare pod appears fine in the window (with upload button initially disabled), and when the LCCS connects, the 'Upload a file' button enables correctly, but clicking on it does not bring up any window. Is there something I am missing? Below is my code import com.livesas.model.MonitorModelLocator; import mx.events.FlexEvent; [Bindable] private var modelLocator:MonitorModelLocator = MonitorModelLocator.getInstance(); As you can see, it is in an AIR application, and I tried with FP9 and FP10 version of lat...

Views

2.6K

Likes

0

Replies

16