Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  How does one access View Profile page from a report
Previous Previous
 
Next Next
New Post 8/8/2007 8:49 AM
User is offline MarkPringle
12 posts
10th Ranked


How does one access View Profile page from a report 

I've created a SQL report using DNNs Report module that pulls user information in the form of a user directory. Anyway, I want to link a column to the View Profile page. What query is used by that page. If you use the Links Module to go to an indivual's View Profile page it creates a userticket query string. (.../ViewProfile/Default.aspx?userticket=AKaVebQ7XtI%3d) Is there another way to access that View Profile page. UserID (below) does not work.

SELECT '<a HREF=/nasdev/Home/tabid/37/ctl/ViewProfile/Default.aspx?UserID=' +CAST(U.UserID AS VARCHAR)+'>'+ U.Lastname+ ', '+U.Firstname +'</a>' AS Associate, U.Lastname AS [Last Name], U.Firstname AS [First Name], R.Rolename AS [Team], '<a href=mailto:'+AM.Email+'>'+AM.Email+'</a>' AS [Office Email], (SELECT PropertyValue FROM dbo.UserProfile WHERE PropertyDefinitionID = '31' AND dbo.UserProfile.UserId =U.UserId) AS [Office Phone], (SELECT PropertyValue FROM dbo.UserProfile WHERE PropertyDefinitionID = '32' AND dbo.UserProfile.UserId =U.UserId) AS [Cell Phone]
FROM Users U
INNER JOIN UserRoles UR on U.Userid = UR.Userid
INNER JOIN Roles R on UR.Roleid = R.Roleid
INNER JOIN Aspnet_users AU on U.Username = AU.Username
INNER JOIN Aspnet_membership AM on AU.Userid = AM.Userid
WHERE R.Rolename = 'NASDEV Associate'
ORDER BY U.Lastname ASC
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  How does one access View Profile page from a report
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com
Faculty of Graduate and Postdoctoral Studies
At the graduate level, the University of Ottawa offers more than 180 graduate certificates, master's degrees and PhDs, as well as interdisciplinary programs such as Women's Studies and Canadian Studies. Many postdoctoral opportunities are available in both the sciences and the humanities. For further information, please consult the site of the Faculty of Graduate and Postdoctoral Studies.
www.grad.uottawa.ca

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP