I want to do something like this
<arc:set attr="scope">[encodedurl]\n[expiry]</arc:set>
I have tried using a multiline arc:set but without any luck
<arc:set attr="scope">
[encodedurl]
[expiry]
</arc:set>
Any ideas?
I want to do something like this
<arc:set attr="scope">[encodedurl]\n[expiry]</arc:set>
I have tried using a multiline arc:set but without any luck
<arc:set attr="scope">
[encodedurl]
[expiry]
</arc:set>
Any ideas?
Best answer by James B
What context are you using the new scope attr in? Both of those statements will use a new line in the resulting value, which you can see if you test it in a Script connector for example:
<arc:set attr="encodedurl" value="http://someurl/" />
<arc:set attr="expiry" value="2020-01-01" />
<arc:set attr="scope">[encodedurl]\n[expiry]</arc:set>
<arc:throw code="x" desc="[scope]" />You can see the line break in the thrown exception:

And in the second case, you get the preceding and following line breaks:
<arc:set attr="encodedurl" value="http://someurl/" />
<arc:set attr="expiry" value="2020-01-01" />
<arc:set attr="scope">
[encodedurl]
[expiry]
</arc:set>
<arc:throw code="x" desc="[scope]" />
Of course, the context from which scope is evaluated is important here, because the exception here supports multiline data.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.