Add it to the preferences key in the stUserProfile.
>>> Pankaj Singh <[EMAIL PROTECTED]> 04/25/01 08:51 AM >>>
Ray,
bSystemEnabled option is available in 1.0.1 too. Thanks.
Pankaj.
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 25, 2001 11:16 AM
To: Spectra-Talk
Subject: RE: Adding a new property to the userprofile...
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:[EMAIL PROTECTED]]
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 [EMAIL PROTECTED] with 'unsubscribe' in the body.