Announcement

Collapse
No announcement yet.

Variables in URL

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • tccug221
    replied
    Thanks!!

    Works perfectly...Thank you so much!

    Leave a comment:


  • mrhappy
    replied
    Originally posted by tccug221 View Post
    I want to add the value of a device to a URL request. Im trying something like this, but it is returning $$DV:Q15 not the value in device Q15. Any sugestions?

    &hs.GetURL("http://192.168.1.160","/storeinfo/default.aspx?Device=Power&DataType=Phase1&Data= $$DV:Q15",TRUE,80)
    Replacement variables unfortunately only work in a couple of places and embedded inside scripting calls is not one of them. You could try;

    &hs.GetURL("http://192.168.1.160","/storeinfo/default.aspx?Device=Power&DataType=Phase1&Data=" & hs.devicevalueex(1234),TRUE,80)

    Where 1234 is the device reference (not the device code).

    Leave a comment:


  • tccug221
    started a topic Variables in URL

    Variables in URL

    I want to add the value of a device to a URL request. Im trying something like this, but it is returning $$DV:Q15 not the value in device Q15. Any sugestions?

    &hs.GetURL("http://192.168.1.160","/storeinfo/default.aspx?Device=Power&DataType=Phase1&Data= $$DV:Q15",TRUE,80)
Working...
X