Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dino 6 posts 28 karma points
    May 14, 2013 @ 18:07
    Dino
    0

    Accessing query string parameters whilst entering content

     

    Our users want to be able to add query parameters from the current request as content in the page

    eg

    <a href="http://www.someSite.com/index.aspx?policynumber=[Insert Query String Value Here from request]">

    could they do something like this?

    <a href="http://www.someSite.com/[email protected]["policynumber"]">

    or is there a package that helps with this?

    or do I have to write my own macro?

     

  • Fuji Kusaka 2203 posts 4220 karma points
    May 14, 2013 @ 20:31
    Fuji Kusaka
    0

    Hi Dino,

    You can add a textString property to your document type where you will insert the policyNumber .

    <a href="htp://www.somesite.com/[email protected]">

    if needed you can make some check for the query as well

    var policy = Request.QueryString["policynumber"];
  • Charles Afford 1163 posts 1709 karma points
    May 14, 2013 @ 21:53
    Charles Afford
    0

    is it a internal system?  That sounds a bit risky :/

Please Sign in or register to post replies

Write your reply to:

Draft