I see two mistakes:
> However when I add in the userGet statement and I set the typeid to
> request.stUserProfile.preferences.favoriteSection, the code doesn't work:
>
> <cfa_userGet
> userDirectory="UserDirectory"
> username="#request.cfa.activeuser#"
> r_stUser="stUser">
>
> <cfset typeid="request.stUserProfile.preferences.favoriteSection">
First mistake. You need to use ## signs above. Rewrite it to this:
<CFSET TYPEID = Request. blah blah >
> <cfa_ContentObjectGetMultiple
> datasource="suntimes"
> typeid="#typeid#"
> r_stobjects="stObjects">
> Also, when I try to output the value of
> request.stUserProfile.preferences.favoriteSection, the UUID does output
> successfully, as in the following example:
>
> <cfa_userGet
> userDirectory="UserDirectory"
> username="#request.cfa.activeuser#"
> r_stUser="stUser">
>
> <cfoutput>#request.stUserProfile.preferences.favoriteSection#
> </cfoutput>
>
You told cfa_userget to save the profile in stUser, not
request.stUserprofile.
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.