Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Inconsistent handling of a string parameter within Web.Contents() Options record

I am trying to use a text parameter to set the key of a key: value pair within an Options record that gets used in Web.Contents(). The use case aside, the key of the key: value pair will not accept t...
  • ImkeF's avatar
    5 years ago

    Hi Anonymous ,
    you cannot use that syntax to define a record field with a variable name.
    Instead, simply leave that field out when defining the record and add that variable named field using the Record.AddField-function.

    There, in the 2nd parameter you can reference another paramter or query step.