DNN Tokens in Initial Bind?
Last Post 09-17-2009 06:44 AM by David To. 2 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages
Jeff SullivanUser is Offline
going with the flow
going with the flow
Posts:39
Avatar

--
09-16-2009 12:34 PM

    Hi,

     

    I'm trying to get an initial bind working with a form, and one of the arguments it needs to pass to the stored procedure is the UserID.

    I've tried putting [User:UserID] and $(USERID) in the configuration box with my sproc (e.g., "EXEC uspMySproc, 12, [User:UserID]"), but it doesn't work.

     

    If I replace the token with the actual userID, it does work, so I know the calls to the DB are working OK.

     

    I also have a TailoredHTML module on the page relfecting the userID, so I know what the value should be.

     

    What am I doing wrong?

    Jeff SullivanUser is Offline
    going with the flow
    going with the flow
    Posts:39
    Avatar

    --
    09-16-2009 01:41 PM

    ...and in the spirit of figuring it out for myself, I just noticed that the token is $(UserID) in Dynamic Forms and $(USERID) in Tailored Html, and case is significant.

    David ToUser is Offline
    river guide
    river guide
    Posts:2719
    Avatar

    --
    09-17-2009 06:44 AM
    HI Jeff, glad you figured it out and I wasn't fast enough to respond on this one. -- David


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi