Go Back   CHECKBOX® Online Community > Checkbox® > CHECKBOX® Developer Kit

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-27-2008, 12:08 AM
dman75
Guest
 
Posts: n/a
Default Intergration With Dotnetnuke

I wish to create a Dotnetnuke module that would load the survey into the module. Does anyone know if this can be accomplished?

I am also having some issues creating the user from within dotnetnuke using the webservice.

I have created the link to the webservice and can retrieve the correct URL from the webservice but I am having issues actually adding the user.

Have you some code in vb.Net that explains the process for using the webservice.

- Thanks

Damian
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:58 AM
jrjespersen
Guest
 
Posts: n/a
Default

Can you be more specific about your issue? Is the code throwing an exception?

Here's a basic sub that will create a user. It's by no means complete, but it at least should test the plumbing.

Code:
	Public Sub CreateUser()
		' Create the web service client
		Dim wsProxy As New UserManagementServiceProxy
		wsProxy.Url = "http://example.com/services/usermanagementservice.asmx"

		' Authenticate as an admin
		Dim nToken As Nullable(Of Guid)
		nToken = wsProxy.AuthenticateUser("admin", "admin")
		If nToken.HasValue Then
			Dim adminToken As Guid
			adminToken = nToken.Value

			'Create a user with no profile properties
			Dim UserID As String
			UserID = wsProxy.CreateUser(adminToken, "NewUserName", "NewPassword", Nothing, True)
		End If
	End Sub
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 06:59 PM
dman75
Guest
 
Posts: n/a
Default

Thanks for this. I was able to get this working after a late night last night..

But on the other note, do you know how I could implement the code for the survey so that I could embed the source into a dotnetnuke module so that I can display the survey within the site, not as either an iFrame or a popup?

- Thanks
Reply With Quote
  #4 (permalink)  
Old 03-04-2008, 01:11 PM
Administrator
 
Join Date: Mar 2007
Location: Prezza Technologies
Posts: 192
Default

Implementing the survey as a control for integration into a site isn't terribly practical due to the number of ancillary tasks, such as authoriziation, session management, response state management, etc. that would make the task a far larger issue.

Our long term plans do include making changes to support this type of modular integration, but those are many months away.

-Noah
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 09:15 PM.


SEO by vBSEO 3.2.0