setCustomUserField
I tried to add the ability for a user to add a city name to their profile in the CustomRoster example. I tried to put the following cSession.userManager.setCustomUserField, but I don't know that I called it wrong. I was put in the name of the city to a text input box id = cityInput.Then I tried to show in the mx:list by adding to the line - return uDesc.displayName +', ' + role + ', '+ uDesc.customFields;
What is the correct procedure to set, and then call?
Thank you
And this is the event class that goes with it.
Tags: Adobe LiveCycle
Similar Questions
-
Hello
I'm only able to call UserManager.setCustomUserField with the owner, but not with the Editor (50).
How can I make a custom userfield editable with a user of the editor?
Strange thing is that if I'm in the room Console and change my role of owner in the editor, I can add a custom user field.
Any tips?
PS: Meanwhile, I found this post where it is explained how to implement a custom user Tracker:
http://forums.Adobe.com/thread/840181?decorator=print & displayFullThread = true
It would be nice but if I could value give permission a customfield for the role of the Editor directly on usermanager
Hello
If a user with the role editor, trying to setCustomUserField to itself, then it should be possible. (you try to do this?)
But if he tries to put it other then its not so easy. Is the only option possible, you will have to extend the current UserManager and override the setCustomUserField method.
Thank you
Arun
-
CustomField doesn't seem to have the value
Hello
I would use CustomField to identify connected members. The CustomField doesn't seem to work. I've added some traces of check:
If (! cSession.userManager.isCustomFieldDefined ("memberID")) {}
cSession.userManager.registerCustomUserField ("memberID");
}
cSession.userManager.setCustomUserField (cSession.userManager.myUserID, "memberID", myMemberID);
Status.Text = + Status.Text "memberID setting \n" + myMemberID;
Status.Text = Status.Text +"\n memberID value" Stéphane de.customFields.memb + cSession.userManager.getUserDescriptor (cSession.userManager.myUserID);
I get the content in the status field:
setting memberID 123
Member ID set to undefined
I'm doing something wrong?
Kind regards
AxelHello
There are some things that I would like to highlight and also attach a code I ran to solve your problem.
(a) after setting the customField, you will have to wait until its actually resolved, you must wait until you receive the event of usermanager CUSTOM_FIELD_CHANGE (see my attached code).
(b) the way that you access a customField is customFilelds ['fieldName'] and not customFields.fieldNameFinally, as an added information in the drop down next is coming in a few weeks, we've added ways where you get an event once you have saved your customFileld so that you expect before you set your customFiled, and also you would be able to remove your customField. And you can also the registry and delete the dev console.
Here's the complete code attached for your problem
Maybe you are looking for
-
Looking through the massive amounts of Add-ons is a bit annoying. I always want to know how big the app is and how a memory trail I will get. I now have to download the application for size and then the search engine application to see if it is a hea
-
My iTunes Store movies do not play in iTunes 12.3.3
Hi all After you have installed the latest version of iTunes (12.3.3) and OSX 2016-002 (v. 10.10.5) security update I can no longer play my movies purchased (from the iTunes Store) in my MacBookPro (mid-2012) machine. I see the key symbol next to the
-
How can I register for the apple care.
How can I register for the apple care.
-
Mail electronic blackBerry Z10 endangered
Hi all First time here because it is the first problem I had. I've owned a Z10 work perfectly for almost 2 years. I have 2 email on this subject, the two accounts also download to Outlook on my PC. It's all the settings so that all emails can be vi
-
Unable to access the Windows 7 network or via router or ad hoc homegroup
I have a very annoying problem. I have 2 computers clean. They were formatted and Win 7 ultimate was installed on both computers. They have a PCI card (D - Link DWA-525) wireless. Their material is identical, the same motherboard, etc., next to "Serv