Community > Answers
343 views

Can Live Form using URL Parameters in SQL Statements?

Can live form using URL parameters from an DNN site (f.e. mywebseite.com/itemshow?urlid=123456) in a SQL statement to get data and display from the database (SELECT * from items WHERE id = [urlid]).

Kind Regards
Daniel

Daniel Collet Daniel Collet
asked 12/22/2018 17:12
Add Comment
Intelligent Netware
replied 12/22/2018 18:06

Interesting question. I use the Reports module to do this. I suspect there are many functions LiveForms might perform if it is able to grab the @UserID, @PortalID parameter.

Interested in know this. Thanks for asking.

Last Activity 12/23/2018 14:28

1 Answer(s)

  • answered 12/23/2018 13:13
    Daniel Collet
    Add Comment
    Daniel Collet
    replied 12/23/2018 14:28

    The url Tokens can not be used direct in the SQL Statements.

    But you can use the URL Tokens as default value for a field. the field you can hide. And then you can bind other fields with SQL Statements using that field-data.

    Kind Regards
    Daniel


    Reply
Add an Answer