Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
Spectra-Talk
Cold Fusion Spectra - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Spectra :
product's home
product's list home
 
  Archived TallyList / Spectra-Talk: 
Subject: RE: Adding a new property to the userprofile...
rcamden@macromedia.com (7p/+0r)     Posted: Wednesday 25 Apr 2001
This post: 25 views, +0 rating

I forget if this was in 1.01, and I don't have access to my 101 box right now, but I know that in 1.50 you can say, bSystemEnabled. This overrides the system security. You may want to check to see if it is in 1.01 as well.

-----Original Message----- From: Michael Collins To: Spectra-Talk Sent: 4/25/01 10:49 AM Subject: RE: Adding a new property to the userprofile...

Pankaj,

You are trying to change a system type. The COAPI will not let you do this.

In the UserProfile type you have a property called preference, which is a an embedded object type. If you open this type you will see it is a name/value type which can hold any number of dynamic fields you wish to associate to any user.

If you are still determined to add your own property you will need to temporarily change the object to be a non-system object or temporarily change cfa_objectTypeProperty not to check for system objects.

Mike -----Original Message----- From: Pankaj Singh [mailto:PSingh@dci.com] Sent: Wednesday, April 25, 2001 9:48 AM To: Spectra-Talk Subject: Adding a new property to the userprofile...

I am trying to add a new property to type "userprofile". In the type designer when I click on the widget to add a new property I don't see an add button. So, I tried

<cfa_objectTypeProperty action = "create" dataSource = "#request.dci.datasource#" typeID = "70E7DFBF-A67E-11D2-B3AC00C04FA35A23" propertyName = "comprevenue" propertyDefinitionID = "968A2611-66B3-11D3-AD4D0060B0EB2994">

But it gave me the following error,

Type update failed Attempt to update a system type 70E7DFBF-A67E-11D2-B3AC00C04FA35A23. The system types cannot be updated. Custom tag stack:

CFA_OBJECTTYPEPROPERTY (error detected)

Is there any other way I can add this new property ? I am working on 1.0.1. Any help would be appreciated.

Thanks,

Pankaj. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm ------------------------------------------------------------------------------ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a message to spectra-talk-request@houseoffusion.com with 'unsubscribe' in the body.


Similar Subject Line Posts (+/- two weeks of this post)
RE: Adding a new property to the userprofile...  25 Apr 2001   (26 v/ +0 r)
Re: RE: Adding a new property to the userprofile...  25 Apr 2001   (21 v/ +0 r)
RE: Adding a new property to the userprofile...  25 Apr 2001   (26 v/ +0 r)
RE: Adding a new property to the userprofile... CLOSED  25 Apr 2001   (28 v/ +0 r)
RE: Adding a new property to the userprofile...  25 Apr 2001 (this post)   (25 v/ +0 r)
RE: Adding a new property to the userprofile...  25 Apr 2001   (27 v/ +0 r)
Adding a new property to the userprofile...  25 Apr 2001   (24 v/ +0 r)
 

Send a reply to the Spectra-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000