|
Here is my latest attempt at modification of the
PlumUserList.cfm file. The code inside the box is my new code: <!--- The
third column will display the user's email address ---> <cf_DisplayColumnInList
column="Email" label="Email"> <!--- The fourth column will display a comma delimited list
of the user's roles ---> <cf_DisplayExpressionInList
label="Roles"> <cfquery
name="REQUEST.GetUsers" datasource="#Application.dbDSN#"> SELECT PR.RoleName
AS Roles FROM
PlumUserRole
PUR, PlumRole PR WHERE PUR.RoleCode = PR.RoleCode AND PUR.UserID =
#PlumUser_UserID# </cfquery> #ValueList(REQUEST.GetUsers.Roles,
", ")# </cf_DisplayExpressionInList>
<!--- The
last column will contain links to the Add, Edit, and Delete forms ---> <cf_DisplayListLinks
add="Yes" view="No" edit="Yes"
delete="Yes"> I am getting the following error: Variable
PLUMUSER_USERID is undefined. I have tried caller, attributes, request, etc. and I
cannot seem to use #PlumUser_UserID# inside the Query. I can use it
outside the query just fine, but not inside. I am stumped!!! Jim -----Original
Message----- I forgot to mention that
one way to do it is just create your own empty query with QueryNew() and build
it from scratch, row by row. Then reference the result with the query
attribute of the DisplayList tag. So Far I have this query at the top
of my PlumUserList.cfm file (Just under the header comments). From: Jeff
Fleitz <[EMAIL PROTECTED]> I
am desperately trying to hand-code a column to the Plum
User List that will display a comma delimited list
of the User's Roles. I am having no Luck at all! Anyone
want to offer a hand???
**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change your
subscriptions between normal and digest modes here: http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
********************************************************************** | ||||||||||||||||
- [plum] Roles on User List Jim Canup
- Re: [plum] Roles on User List Jeff Fleitz
- Re: [plum] Roles on User List David Churvis
- Re: [plum] Roles on User List Jim Canup
- Re: [plum] Roles on User List Jeff Fleitz
- Re: [plum] Roles on User List Jeff Fleitz
- RE: [plum] Roles on User List Jim Canup
- Re: [plum] Roles on User List Jim Canup
