Checkbox Forums

Register | Help
Results 1 to 4 of 4
  1. #1
    dman75 Guest

    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

  2. #2
    jrjespersen Guest

    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

  3. #3
    dman75 Guest

    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

  4. #4
    ncushing is offline Administrator
    Join Date
    Mar 2007
    Location
    Prezza Technologies
    Posts
    225

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.5.0