• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

Pulling appVars from URL-Parameters and use them for query definitions & filtering

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

  • Pulling appVars from URL-Parameters and use them for query definitions & filtering

    Hey there,

    we've recently updated from 5.2 to the latest release of valence 6 (12-2021).

    What makes us quite happy is that it's now possible to pull URL-parameters from NAB-Apps and store them into app viariables; however I didn't figure out yet if it's possible
    a) to use them in datasources (the SQL-UDF/SP "vvIn_parm" doesn't return a value)
    b) for filtering values by using an initial program (like EXNABIV) or filter program (like EXNABFLT) where we get the AppVar by calling "getAppVar('xxxx)" and calling "SetValue()"

    Thanks very much in advance for your response.

    Chris

  • #2
    Have you tried using vvIn_vitrual() in your SQL statement?

    Comment


    • #3
      I have similar problem. I have multiple data sources being built by pre-execution programs. I need to read a NAB app variable to build correctly but I can't get to the app variables in a data source pre-execution program.

      Comment


      • #4
        Valence 6.1 will include a new data source pre-execution template program which will give you access to the app variables (via the GetAppVar) procedure.

        Comment

        Working...
        X