How to get Room Id

Hi
I would like to develop a custom Iview for collaboration.
IRoom room = roomsAPI.getRoom("c0514d6b-57ab-2810-dcaf-8ab435de7871");
response.write(room.getDescription());          
response.write(room.getName());
response.write(""+room.getLastModified());
In the above code i am hardcoding the room Id.  But my requirement once user selects a particular room in a room directory.  I would like to capture the room id of that room?
Experts!! Any coding snippet is appreciated.
Thanks & Regards
Ravi

Hi,
Did u try to use IRooms in Scheduler or abstractportalcomponent.
In abstractportalcomponent it works , but am doing in scheduler and am unable to get IRooms .
Am getting following error . can you help me.......
am getting following exception while trying to retrieve IRooms object. Exception coming at line .
roomsAPI =
                    (IRooms) PortalRuntime.getRuntimeResources().getService(
                         IRooms.PORTAL_SERVICE_ID);
Detailed Exception In log file .
processing ERROR [ThreadPool.Worker3 2006-08-08 23:05:04] Log4jExampleUsage: Application encountered an internal exception Message Is :
java.lang.ClassCastException
Message was edited by: kaushik1 meduri1

Similar Messages

  • How to get rooms complete list

    Hi All
    Is there any way that we can get all the rooms list and access history?
    thanks & regards,
    deEP

    Hi Deep,
    Please check the forum for such questions, before posting new one.
    There are answers available for same. I am just reproducing for your reference.
    Goto Content Administration -- Collaboration Content -- Room Administration -- Click on filter
    u get all the rooms created in that portal and u will get below options for Administration
    Lock or Unlock: Room members cannot enter a locked room
    Hide or Show: The room directory does not display hidden rooms
    Set Full Access or Reset Full Access: If you give the room owner full access, he or she can enter all pages in the room. Otherwise, only the page permissions for his or her room roles apply for the room owner.
    Change Owner: You can select all rooms that a user owns and assign them a new owner
    Delete: Before you delete a room, you can check its usage and temporarily lock or hide the room, if required.
    regards
    Kedar Kulkarni

  • How to get the room id & user id in our component

    Hi Experts,
    Collaboration -> Rooms -> Room Directory
    It will show the available rooms
    Select restricted room tab in that.
    That will show the restricted room list, if you are not a member of the room you can request the room by clicking context menu of the room and select the “Request Membership” option. Then it will send the mail to the owner of the room.
    In that UI commend they mapped with the roomid and userid.
    I need to know how to get the room id & user id in our component.
    How to get the Room Id dynamically?
    Can anybody help me for this?
    Helpful answers will appreciate.
    Thanks and Regards,
    Kathiresan R

    Hi Kathiresan,
    you can get the Room ID and the User ID over the API.
    Getting User ID within WebDynpro application:
    IUser user = WDClientUser.getCurrentUser().getSAPUser();
    String logonId = user.getUniqueId();
    Getting User ID within custom Portal Component:
    IPortalComponentRequest request = (IPortalComponentRequest) httpRequest;
    IUser user = request.getUser();
    String logonId = user.getUniqueId();
    Getting Room Id of a user who belongs to this room:
    IUser user = request.getUser();
    IRooms roomsAPI = (IRooms) PortalRuntime.getRuntimeResources().getService(IRooms.PORTAL_SERVICE_ID);
    IRoom[] myRooms = roomsAPI.getAllRoomsForUser(user);
    String roomId = "";
    for (int i=0; i<myRooms.length; i++) {
      IRoom room = myRooms<i>;
      if (room.getName.equals('nameOfRoomToFind')) {
        roomId = room.getId();
    Greets
    Denis

  • [E2010][EWS-XML][JAVA]How to get the properties of meeting rooms in Exchange 2010 using EWS Java API

    When you look at meeting room properties in Outlook 2010, you can see 'City', 'Country/Region' and 'Department' information.
    Is there any way to get this information using EWS Java API? 

    Hi Glen,
    I am able to understand what u have said, but do not know how to implement it with meeting rooms....
    If i am implementing
    "Get all appointments between startDate and endDate in the specified folder, including recurring meeting occurrences" in ews-java-api, as you have mentioned above, i am able to get only my appointments from the start date to end date , as i
    have given my email id and password, how to get my organization meeting room details, booked or not.
    static ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    public static void main(String[] args) throws Exception {
    // TODO Auto-generated method stub
    ExchangeCredentials credentials = new WebCredentials("[email protected]", "zzzz");
    service.setCredentials(credentials);
    try {
    System.out.println("Check");
    service.autodiscoverUrl("[email protected]",new RedirectionUrlCallback());
    } catch (Exception e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    NameResolutionCollection nameResolutions = service.resolveName("SDB1",ResolveNameSearchLocation.DirectoryOnly, true);
    System.out.println("nameResolutions==="+nameResolutions.getCount());
    for(NameResolution nameResolution : nameResolutions)
    System.out.println("NAME==="+nameResolution.getContact().getDisplayName());
    The above code gives me the output like, the meeting room in my organization with word SDB1 are
    Output:
    nameResolutions===2
    NAME===SDB1- TELCON - 1
    NAME===SDB1-TELCON - 2
     for. eg. I need to know today at what are the appointments in the room SDB1-TELCON2 and who all have booked the room.
    I do not know how to implement for the meeting room can you please help me how to give it.
    Thanks in advance.

  • How to get "Current" Room RoomID for logged user ?

    Hi everyone
    Does someone here knows how to get the <i>current</i> <b>RoomID</b> of the Room the user has <u>'open'</u> from a java WebDynpro view ?
    I know I can get the list of rooms for the logged user, but I don't know how to get the <u>open/current</u> room for that user, for querying the roomid in the wdp view after that...
    Thanks
    Best regards
    Manuel
    ps. Sorry for my english, I hope you all understand me...

    Hi,
    I have the same problem, has you solved it? How?
    Thanks in advance,
    Regards,

  • When I switch my time capsule to 5.0ghz mode the range of my wireless network drops significantly.  Near the Time Capsule my Macbook Pro works fine, in my bedroom I have almost no signal.  In mixed mode it works fine.  Any ideas on how to get 5.0 working?

    When I switch my time capsule to 5.0ghz mode the range of my wireless network drops significantly.  Near the Time Capsule my Macbook Pro works fine, in my bedroom I have almost no signal.  In mixed mode it works fine both placed.  Any ideas on how to get 5.0 working?  I thought 5.0Ghz was supposed to have a wider range.  Do I need to change a setting on the Macbook Pro?
    Thanks, W

    I'm not sure if you understand that 5 GHz has some upsides, but also some very significant downsides.
    The upside is that the 5 GHz signal will allow faster speeds.
    The downside is that you must always give up something in order to gain something else.Unfortunately, the marketing hype about 5 GHz does not go into very many details about this.
    In the case of 5 GHz, the 5 GHz signals are much weaker than 2.4 GHz signals, so they do not travel as far or penetrate any obstructions like walls or ceilings nearly as well as 2.4 GHz signals. In many cases, in order to get good 5 Ghz performance, you literally have to have almost a line-of-sight relationship between your computer and the wireless router.
    If you have a new dual band router, which broadcasts both a 2.4 GHz and 5 GHz signal simutaneously, your Mac will connect to the best signal quality automatically depending on its location in relation to the router. In the same room, without any obstructions, it will connec to 5 GHz. But, take the laptop down the hall a few rooms and around the corner and the Mac will connect to the 2.4 GHz signal because at that location, the 2.4 GHz signal is not only stronger, it is also faster.

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

  • How to get rid of the craking sound comming from my speakers

    I have creative 4400 4.1 speakers. Whenever i switch them on (without even booting the OS),Small sounds like the ones comming out of old gramaphone disks which resemble like a cracking sound is comming out of my speakers.
    can u tell me how to get rid of that sound , Is it a problem or is it natural in speakers.
    -Siva Kumar Reddy.CH.V

    If it's happening when they're turned on, but the PC isn't (or there is no source connected to the speakers), then you could try the speakers on another power outlet (in another room perhaps), to check if there's any interference or "dirty power". If there is other electrical equipment around something could be causing interference. It is possible though that there is a hardware fault.
    Cat

  • How do get video to hdmi TV port without using apple tv?

    My new non retina macbook pro 13 inch is supposed to arrive soon.  My old 42 inch Vizeo only has one hdmi port that works so I was planning to use it a s moniter  for  my DAW.  The apple tv is for the living room, not the room where my DAW is.  But as far as I can tell there is no mini display or anything on this computer other than thunderbold , usb and  firewire, the firewire to be used for my MOTU audio interface. Any ideas on how to get this old  VIzeo  to be external moniter basically

    Take a look at this;
    http://support.apple.com/kb/HT4241
    There's some additional links in there to the products themselves. Will allow you to connect it to the HDMI port on the TV and not have to use the Apple TV.
    Regards,

  • I can't get the AirPlay alert to stay off my Apple TV. I'm using AirPlay so it's not trying to connect. It's an alert that tells me what AirPlay is. Anyone know how to get rid of this?

    I can't get the AirPlay alert to stay off my Apple TV. I'm using AirPlay so it's not trying to connect. It's an alert that tells me what AirPlay is. Anyone know how to get rid of this?

    Welcome to the Apple Community.
    Settings > AirPlay > Conference Room Display > Off.

  • How to get the creation date of an event/meeting

    I need to implement some control rules on booking conference rooms depending on the creation date and start date.
    For example:
    - the booking cannot be accepted if the meeting start date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    - the booking cannot be accepted after 5:30PM for a meeting starting the next morning before 10:00AM
    at 5:45PM I can book the conference room for a meeting tomorrow at 11:00AM, but not for a meeting at 9:45AM

    Hi Michel,
    how to get the creation date of an event/meeting?When you use the calendar sdk to fetch a meeting there is an Icalendar(http://www.ietf.org/rfc/rfc2445.txt) property called CREATED with the creation time in UTC.
    For example:
    - the booking cannot be accepted if the meeting start
    date is less than 2 hours ahead
    at 3:00 PM I can book the conference room for a
    meeting starting at 5:05PM
    but not for a meeting starting at 4:55PM
    You would want to implement these rules with with the sdk? That would implie that users connecting to the calendar server with any other client than the calendar sdk could still book these resources whenever they want.
    Or you would want to go an validate all the meetings once they are already created?
    Cheers,
    Jean-Philippe

  • How to get the values from table SKB1 R/3  to SRM

    Hi Gurus,
    My requirement is to get all the values from the table SKB1 to SRM (i.e. in to an internal table) for doing some validation(G/L account XXXXXX requires an assignment to a CO objectXXXXXX.)
    Like wise I have many tables for doing validation in SRM
    Help me how to get this, suggest me any Function module with sample code.
    OR
    Any Standard FM which will give all the values of the fields in the table SKB1 when I pass the key fields G/L account & company code alone so that I can improve the performance.
    Suggest me.
    Regards
    Paul

    Hi,
    You can use the FM 's META_READ_TABLE Or RFC_READ_TABLE
    Which SRM / Backend system version are you using ?
    Are you taking care of the Importing paramater - DELIMITER in this case.. ??*
    See related links ->
    Re: Retrieving data from R/3 into SRM
    Re: Product Search TIME lag
    Else you can just call the remote enabled  FM "BAPI_GL_ACC_GETDETAIL"  from SRM.
    BR,
    Disha.
    Do reward points for useufl answers.

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • TS3999 I had an icloud account setup in 2009 when I first got my family members each a mac. I let that account expire(we never used it) and I don't know how to get it off of my ical. It is not recognizing any of the information to reset the password?

    I had an icloud account in 2009. We set it up as a family plan because my family had just changed from PC to Mac. We never used it and let the plan expire in 2010. My ical will not sync with my new iphone because it is linked to the family plan account that no longer exist. Because I don't remember my password, I tried resetting it. It says the personal information I entered is incorrect, but I know the information is correct...It's my birthday it asks for! Does anyone know how to get that account off of my mac without the account existing?

    You were a MobileMe (not iCloud) subscriber in 2009 and this service has been terminated. However the login is an Apple ID and this never expires. What is your operating system? Do you have a MobileMe icon in System Preferences? - if so you should be able to sign out in it, but you may not have an iCloud icon to let you create an iCloud account, though you can do so if your iPhone has iOS 5 or above.
    If you are getting login requests or other irritations from your MobileMe account you can go to (user)/Library/Preferences/ByHost and delete all .plist files beginning with com.apple.DotMac or com.apple.idisk, then reboot.
    The minimum requirement for iCloud to let you sync your data is 10.7.5 though you can sync through iTunes (except with Mavericks).

  • I cant update nor download any applications. My password was always invalid. And other username is prompted richardca0521@yahoo.ca which is not my account. How to get rid of this apple id and use my account for download? I have registered this to itunes.

    I can't update nor download any apps in itunes. Prompted invalid password, upon checking the apple id was not mine. The id was [email protected] whic is not mine. Pls. Help how to get rid of this. Thank you.

    try and delete the apps and re-add them

Maybe you are looking for

  • Can't open .CR2 files in PhotoShop CS5, Camera RAW or Adobe DNG Converter

    Firstly take note I shot these with a Canon EOS 450D (or Rebel XSi)... I see a lot of answers speaking about having the most up to date version of the Camera RAW Plug-in. I have a similar issue with my .CR2 files... I cannot open them in Camera RAW b

  • What are the dependencies to implement SAP PM module form Financials?

    Hi Experts, Requirement is that the client does not have SAP and now asking for only SAP PM module to be implemented. Can you please suggest me what are all the dependencies we need to consider from FICO and MM  point of view? Thank you very much Gan

  • My iMac never shuts down properly

    My iMac never shuts down properly, sometimes it says that i need to force quit my wireless internet but even when i do that it just has the white screen and I have to hold the power button down to turn it off properly, why is this and how can i stop

  • Validation tool in PLM webui

    Hi friends, I need to know how to restrict validation tool so the user can see only their own action validations. I tried to trace it through su01 but no results. Please help. Thanks

  • OCS V2 Install on UnitedLinux: invalid entry CRC

    Log file: Zeichenfolge der Ausnahme: Fehler beim Schreiben in Datei "/opt/oracle/ora9i/jlib/oracle_ice5.jar". [invalid entry CRC (expected 0xc123eefd but got 0x854acebf)] Ausnahmegrad: 2 Ausnahmebehandlung auf Benutzer-Eingabeaufforderung mit folgend