CustomField doesn't seem to be set

Good morning,
I would like to use CustomField to identify the connected
members. The CustomField doesn't seem to work. I've added some
trace to check:
if (!cSession.userManager.isCustomFieldDefined("memberID")){
cSession.userManager.registerCustomUserField("memberID");
cSession.userManager.setCustomUserField(cSession.userManager.myUserID,
"memberID", myMemberID);
status.text=status.text+" \n setting memberID "+myMemberID;
status.text=status.text+" \n memberID set to
"+cSession.userManager.getUserDescriptor(cSession.userManager.myUserID).customFields.memb erID;
I get the following content in the status field:
setting memberID 123
memberID set to undefined
Am I doing something wrong?
Regards,
Axel

Hi,
There are some things I would point out and also attach a
code I ran solving your problem.
a) After you set the customField, you need to wait till its
actually set, you need to wait till you receive the
CUSTOM_FIELD_CHANGE event from usermanager ( see my attached code).
b) The way you access a customField is
customFilelds['fieldName'] and not customFields.fieldName
Lastly ,as an added information in the next drop which is
coming in few weeks, we have added ways where you get an event once
you have registered your customFileld so that you wait for it
before setting your customFiled ,and also you would be able to
delete your customField. And you can also do both register and
delete from the dev console.
Here is the complete attached code for your problem

Similar Messages

  • 1.burned a hole in my screen can I get this repaired?  2. Even though I have it set to open up to a blank screen, no web pages, my computer (safari) continuously opens with multiple safari sites open. It doesn't seem to matter what I do, it just reverts

    1. I burned a small hole in my screen, is that fixable/replaceable? 2. Even though I have my 15" MacBook Pro set to open to empty screen when I open Safari, it constantly opens multiple previous pages. It doesn't seem to matter what I do it just reverts back to opening multiple pages. Major security risk, my bank pages have popped back up after my computer has been shut down, account numbers and all. I took my computer to an Apple store and the genious there tols me...      "honey, you can't hold your laptop on your lap, that's the problem, it's getting too hot" he honestly said that. Could someone please help me? Thanks

    Apple doesn't call its portable machines 'notebooks' instead of 'laptops' for nothing - using a MacBook Pro in your lap can cause some burns on your skin, poor ventilation, etc. So use it on a hard flat surface - not your lap, pillows, bedclothes, etc.
    As for burning a hole in your screen, you'll have to revisit the Apple Store and see how much they would charge for a new screen. It's likely to be a bit expensive.
    And if you've Safari set to re-open tabs when you restart, you can disable this feature -> Safari-Preferences-General.
    Good luck,
    Clinton

  • My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    My daughter has just bought me an iPad 2 from Dubai and set it all up for me but unfortunately the iMessage function doesn't seem to work. We keep getting messages,when trying to activate it, that there is a network connection problem - help!

    Thank you both for your responses but my daughter was reassured by the salesman in the iStyle store (official Apple store in the UAE) that iMessages would work but conceded that FaceTime wouldn't. My iTunes account is registered in the uk and my daughter's iPhone has iMessages even though she bought it (and uses it) in Dubai. Can anyone else throw any light on this?

  • After setting up iCloud for my iPhone and iPad, syncing the calendars to my desktop PC, via USB and iTunes, doesn't seem to work. What;'s going on?

    after setting up iCloud for my iPhone and iPad, syncing the calendars to my desktop PC, via USB and iTunes, doesn't seem to work. What's going on?

    Regarding the USB, see if zapping the PRAM helps.
    Regarding your storage space check out the following: 
    HD Space Checkers:
    Disk Inventory X (FREE)
    WhatSize (SHAREWARE)
    OmniDiskSweeper (FREE)
    GrandPerspective (FREE - donation)
    Mac Performance Guide
    Slimming your hard drive
    ===============
    Quick fix How To Quickly Free Up Hard Drive Space on Mac OS
    http://www.youtube.com/watch?v=fO-mlLApEuk

  • The iPad doesn't seem to want to set up an email for a "group" in my contacts. On my iMac, when I type the name of a group, the email addresses of everyone in the group appear in the "To" line of a new message. Not so with the iPad. Help?

    The iPad doesn't seem to want to set up an email for a "group" in my Contacts. When I type the name of a group in the "To:" line of a new message on my iMac, all the email addresses of the group automatically appear. Not so with my iPad. Help?

    Apparently Groups are not supported in the Mail App on the iPad. Read this thread and see Michael Morgan's post for a workaround.
    https://discussions.apple.com/message/13084823#13084823

  • When setting up my AppleID I get a verification email but there doesn't seem to be a link to click on.

    When setting up my AppleID I get a verification email but there doesn't seem to be a link to click on. Please help

    Try contacting iTunes store support: http://www.apple.com/emea/support/itunes/contact.html.

  • Setting privacy pane to always block cookies on my brand new MacBook pro doesn't seem to work

    Setting privacy pane in Safari to always block cookies on my brand new MacBook pro doesn't seem to work. None of the settings seem to make any difference. What gives?

    Are you not able to start aperture on your old macbook? If you are able to then you can retrieve your serial number by clicking on 'about aperture'
    If not then it's a call to apple as the above posts suggest. I did when I lost mine, bear in mind though, they may ask for your original receipt as they did with me and I had to fax it.

  • I'm unable to sync my ical with my ipad. I've tried to set it up through i-tunes but that doesn't seem to work.

    I'm unable to sync my ical with my ipad. I've tried to set it up through i-tunes but that doesn't seem to work.

    You have sync all iCal calendars chosen or selected calendars?
    No problems syncing contacts with the Address Book or with anything else included with the iTunes sync process?

  • Setting mediaplayer.autoPlay doesn't seem to have any effect

    Hi,
    As topic says, setting the autoPlay property on MediaPlayer to false doesn't seem to have any effect on the VideoElement.
    The MediaPlayer always auto play when assigning it a new VideoElement. I'm using OSMF 1.5
    Thanks

    Hi,
    It looks ok. Can you provide the code for createVideoElement as well?
    This is the snipet that works for me:
    var resource:URLResource = new URLResource("http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApostol_640_500_short.f lv");
    // Create the MediaElement and add it to our container class.
    var videoElement:VideoElement =  new VideoElement(resource);
    container.addMediaElement(videoElement);
    var mediaPlayer:MediaPlayer = new MediaPlayer();
    mediaPlayer.autoPlay = false;
    mediaPlayer.media = videoElement;
    Gelu

  • How does Azure Compute Emulator (or the Azure one) determine if a role is web project or something else ("The Web Role in question doesn't seem to be a web application type project")?

    I'm not sure if this is F# specific or something else, but what could cause the following error message when trying to debug locally an Azure cloud service:
    The Web Role in question doesn't seem to be a web application type project.
    I added an empty F# web api Project to a solution (which adds Global.asax etc., I added an OWIN startup class Startup etc.) and then from an existing
    cloud service project I picked Roles and
    chose Add
    -> Web Role Project in solution, which finds the F# web project (its project type guids are 349C5851-65DF-11DA-9384-00065B846F21 and F2A71F9B-5D33-465A-A702-920D77279786),
    of which the first one seem to be exactly the GUID that defines a web application type.
    However, when I try to start the cloud project locally, I get the aforementioned error message. I have a C# Web Role project that will start when I remove the F# project. I also have F# worker
    role projects that start with the C# web role project if I remove this F# web role project. If I set the F# web project as a startup project,
    it starts and runs as one would expect, normally.
    Now, it makes me wonder if this is something with F# or could this error message appears in C# too, but I didn't find anything on Google. What kind of checks are there when starting the emulator and which one needs
    failing to prompt the aforementioned message? Can anyone shed light into this?
    Sudet ulvovat -- karavaani kulkee

    Sudet,
    Yeah you are right, the GUID mentioned seems to be correct and the first one i.e. {349C5851-65DF-11DA-9384-00065B846F21} means the web application project which compute emulator uses to determine while spawning up role instances.
    You might want to compare the csproj of your C# and F# web projects which might give some pointers.
    Are you able to run your F# web project locally in IIS? If yes then you will definitely be able to run it on azure so I will recommend to test it in IIS Express first.
    Here are some other tips which you can refer or see If you are yet to do those settings
    1. Turn on the IIS Express - You can do it by navigating to project properties
    2. Install Dependent ASP.NET NuGets / Web Api dependencies (If there are any missing), Reference System.Web assembly
    Also I will suggest to refer this nice article about how to create a F# web Api project
    http://blog.ploeh.dk/2013/08/23/how-to-create-a-pure-f-aspnet-web-api-project/
    Hope this helps you.
    Bhushan | http://www.passionatetechie.blogspot.com | http://twitter.com/BhushanGawale

  • I tried to launch iCloud on iMac.  I Changed my e-mail address recently, and iMac  doesn't  seem to know it.  Even worse, it doesn't know any password I've used with Apple ID.  Can anyone help me?

    I tried to launch iCloud on iMac.  I Changed my e-mail address recently, and iMac  doesn't  seem to know it.  Even worse, it doesn't know any password I've used with Apple ID.  Can anyone help me?

    No, i don't. if i did i would have tried it. do you have to sign up an appled ID for iCloud? If the answer is yes then they should mention that in the set-up instructions.

  • Sold BT Infinity 2 but it doesn't seem to exist!

    Hi,
    Just wanted to see if anyone else has had a simliar problem to me and if so how you are going about dealing with it. So back in August I moved into a new house. I rang BT and said that I would like a phone line and also enquired as to what Broadband they could provide.
    So the woman in the sales centre informed me that I could have BT Infinity 2 with speeds of up to 76mbs! Brilliant. So I ordered this amazingly fast Broadband and also my phone line. I'm now in November nearly 3 months on from ordering this superfast broadband and I still don't have any broadband.
    I have had 4 or 5 engineers come out now. Basically the problem is that the exchange hasn't been set up for BT Infinity 2. 
    The latest update I had was can you wait for 3 weeks and we will do a review. When they did a 'Review' on Tuesday the outcome was can you wait another week and we will give you another update.
    There must be some sort of act that they are in breach of selling a service that isn't actually available? They don't seem to give me a decent answer ever. They seem to blame BT Openreach for all the problems. 
    Just wondered if anyone has had the same problem and what you did?
    Thanks
    Gareth

    Hi sorry for not replying to anyone. Not having the internet at home is obviously an issue. The battle with the BT Muppets is still ongoing and we still don't seem to be any closer.
    Says that it is all available. Think I'm up to just about 3 months now since ordering it. I've been told 3 dates in the last 2 weeks when the problem is supposed to have been resolved only to be let down every single time. I'm not due an update until December now though! 
    Just doesn't seem to be anyone at BT that knows what they are doing or able to give you a straight answer on exactly what is going on. 
    Do BT fine BT Openreach for delays? If so I would be interested to know how much they get!
    My issue has been moved onto a specific person now because I complained. But quite honestly that has made no difference whatsoever. Just like dealing with the normal bods on the normal line! 
    I would never go with BT again even if it is just because of the poor customer service and lack of updates. Everytime they say they are going to ring me they don't and then I have to end up chasing them all the time. 
    The only reason I don't want to cancel it now is because I'm 3 months down the line and if I cancel and go with someone else I get to join the back of the queue!
    BT BROADBAND AVAILABILITY CHECKER
    Telephone Number  on Exchange WEST MALLING is served by Cabinet 42
    Featured ProductsDownstream Line Rate(Mbps)Upstream Line Rate(Mbps)Downstream Range(Mbps)Availability Date  High Low High Low    
    FTTC Range A (Clean)
    80
    63.3
    20
    20
    Available
    FTTC Range B (Impacted)
    75.6
    50.5
    20
    16.3
    Available
    WBC ADSL 2+
    Up to 1
    1 to 3.5
    Available
    ADSL Max
    Up to 1
    0.75 to 2.5
    Available
    WBC Fixed Rate
    0.5
    Available
    Fixed Rate
    0.5
    Available
    Other Offerings
    Fibre Multicast
    Available
    Copper Multicast
    Available
    For all ADSL and WBC Fibre to the Cabinet (FTTC) services, the stable line rate will be determined during the first 10 days of service usage.
    For FTTC Ranges A and B, the term "Clean" relates to a line which is free from any wiring issues (e.g. Bridge Taps) and/or Copper line conditions, and the term "Impacted" relates to a line which may have wiring issues (e.g. Bridge Taps) and/or Copper line conditions.
    Throughput/download speeds will be less than line rates and can be affected by a number of factors within and external to BT's network, Communication Providers' networks and within customer premises.
    The Stop Sale date for Datastream is from 30-Jun-2012; the Formal Retirement date for Datastream is from 30-Jun-2014. The Stop Sale date for IPstream is from 30-Nov-2012; the Formal Retirement date for IPstream is from 30-Jun-2014.
    If you have already placed an order for Broadband and now wish to change to a new supplier, then you will need to cancel the existing order with your service provider or your new request will be rejected. If you do not know who the current Service Provider is, please contact your new Service Provider, who should be able to help you to resolve this issue.
    Note: If you decide to place an order for a WBC fibre product, an appointment may be required for an engineer to visit the end user's premises to supply the service.
    Please note that postcode and address check results are indicative only. Most accurate results can be obtained from a telephone number check.
    Thank you for your interest.

  • My battery drained. Screen shows battery with red line but doesn't seem to be recharding after 20 min.  Should I wait or do a hard restart? I haven't backedup in ages and don't want to lose pics, contacts etc.

    My battery drained. Pluged in to wall but screen shows battery with red line but doesn't seem to be recharding after 20 min.  Should I wait longer or do a hard restart? I haven't backedup in ages and don't want to lose pics, contacts etc.  Will a hard restart wipe all that out?

    Agree with Richard:
    -Your device needs both the CR and LF. To accomplish this:
    option 1: Concatenate the "end of line" string constant (this is a combination of CR and LF, located in the string pallete) to all your outgoing commands. Make sure in the "Visa configure serial port" the "Termination character enable" flag is false.
    option 2: Concatenate only a CR to your command's strings. Make sure in the "Visa configure serial port" the "Termination character enable" flag is TRUE AND that the termination character is set to 10 (meaning LF) which I think is the default.
    Details can be seen in this link:
    http://digital.ni.com/public.nsf/allkb/862567530005F09C862565BE005AB500
    "Adding Termination Characters to VISA Serial Writes in LabVIEW"
    Interesting would be to configure the serial port to accept not one but two termination characters. The above links refers to the document "Developer Zone Tutorial: Termination Characters in NI-VISA.", where this is supposed to be possible. The document however is 404'ed.
    If someone find a working link please post it.
    Regards

  • SSD Cache in HP ENVY Phoenix 800-445qe doesn't seem to be installed right

    I have a newly purchased HP ENVY Phoenix 800-445qe which includes what's supposed to be a 16gb ssd cache.  Running WIndows 7 Pro 64.  
    The ssd drive was factory installed so it shows in Windows as with the name DATADRIVE1 (doesn't sound like it was intended as a cache, does it?) and it shows as drive E:. My understanding is that if it were really installed as a cache, it wouldn't be showing as a drive in Windows Explorer.
    The HDD was set as ACHI in BIOS, not RAID.  The Intel RST screen in firmware (accessable through Ctrl-I) shows both drives as non-RAID Disks.  The HP support assistant shows the Intel RST x 64 driver v 13.2.0.1016 installed. 
    Elsewhere on the HP site is a support article with the title: A Seondary 16 GB Drive Shows up in Windows 8 File Explorer, which is the problem I'm having except, I have Win 7, not 8; it says to download a softpaq with release notes that say it only applies to HP ENVY HP-8 systems and requires Win 8; it's fix is to install Condusiv ExpressCache, which I'm under the impression is an alternative to Intel's RST, not something that works with it.  So that doesn't seem to be the fix I'm looking for.  HP Tech Support's helpful suggestion was to find a local computer dealer an pay them to fix it. (Yeah, right.)
    Does anybody here know how to get this thing working?

    There ain't no such thing in the Control Panel.  *sigh*  
    Let me jump off in a very different direction, because as this point I've probably wasted more time on this than the cache can ever save me over the life of the system....
    I have a 128GB SSD on order that I was going to install as my data drive, and then keep it backed up on a partition on the HDD.  That's almost twice as large as my OS+Programs partition on my current XP machine.  I'm thinking maybe I should bail on the whole cache thing, install the 128GB drive as my OS+Programs drive, and set up the 16 GBs as a data drive (since it seems to be set up that way already anyway.  That's a little small, but I can make it work if I move older data files to the HDD as a kind of near line storage.
    Unless you know of a reason I can't do that--like the mSATA SSD won't work as a drive--the question then becomes, how do I set up the 128GB SSD as the OS drive?  I see two possibilities:
    The first would be to use the HP restore image function to initialize the SSD, so it has the EFI partition with the Boot information, and then use Norton Ghost to restore the Ghost image I've created from my now customized Drive C (removing bloatware etc) to the new SSD.  
    The second--which could be a lot easier-- would be to make a ghost image of the entire drive of the current HDD and then use Ghost to restore the image to the 128GB SSD. 
    Do you know if either or both of these approaches will work?

  • WLSE doesn't seem to notice it when an Aironet device goes down

    WLSE type: 1105, version 2.7
    Aironet 1100 devices (267 pieces), IOS 12.2(13)JA4
    After the upgrade from version 2.6 to 2.7 we have a problem with the WLSE. Device discoveries and inventories run without a problem, but whenever a device goes down the WLSE doesn't seem to notice.
    With a sniffer we found the WLSE's polling the device, but there's no follow-up when there's no reply. As a result the device stays green.
    All configurations are the same with the exeption of one location. Here we've configured the WDS and this is the only location on which the WLSE reacts in the correct way.
    On several other locations there might be one or two devices on which the WLSE reacts correctly, but these are exeptions. We have compared configuration files, but can't find any differences between the devices.
    Whenever the WLSE does discover a failing device (with no WDS configured) it generates a P1 severity fault (default was P2).
    In case these devices have become reachable again the P1 severity fault is automatically acknowledged and remains this way. So far I haven't been able to clear these faults and therefor the device will keep it's alert status in the reportview.
    I do hope somebody has some idea about what's going on.
    After I encountered these problems after the upgrade I've started from scratch and used a clean installation of version 2.7. and a new discovery of our network.
    I really don't know what went wrong. Anybody with any suggestions is very welcome to vent them.
    Thanks for your help,
    Corine

    I'm having a similar issue. 500+ AP1200 units, IOS 15JA, newest WLSE version. Most of the time when a unit goes down, it will generate a SNMP unreachable fault message, and we are set to have the WLSE send an email in the event of a SNMP unreachable. That's great. Except once in awhile, it won't generate the fault. The device could be powered completely down for three or four days, and I'd never get a fault message. It's driving me nuts. All these AP's are configured the same using the exact same template, with only the IP info changed.

Maybe you are looking for

  • Add Timestamp to Remote File Name in Output Tab

    Hi, Is it possible to add a timestamp to the Remote File Name in the Destination part of the Output tab? E.g. If I have an FTP as the desgination, can I have a file name as dailyReport20130227.pdf, where the date part is generated dynamically on ever

  • Acknowledgements in XI

    Hi Guys,     I have a query regarding ack in XI. 1. I have read that sender adapters never request     acknowledgements in case of adapters based on adapter engine . Is that true even for adapters based on integration engine ( idoc , http ). 2. Does

  • Duplication in iCal

    I am really sick of the duplication that occurs in iCal when I change something. When I switched to iPhone from Blackberry, all my repetitive events were duplicated 2-3-4-5-6-7- times.  I finally got all that cleaned up but now switched from Snow Lep

  • MDX Statement for TopCountin UniverseDesigner

    Hi together, I'm trying to build a TOP N function in a WebIntelligence Document. In a SAP BW Query I've created a formula variable. For example the User enters 5 for the variable, so I want to show the TOP 5 of one keyfigure. IN SAP BW i can use the

  • Level 1 access question

    Hello all, I've been trying to find a list of actual commands that are available to users that have Level 1 access.  I'm looking for the commands with IOS and NX-OS.  Does anyone know where I can find these?                     Any help is much appre