hello Ev1,
Does somebody know if Conditions can be use as parameter Value?
Thanks you
🙂
Hello,
Actually, it's not implemented on current versions. Maybe an evoluton for next version?!!?
Can you write an example of what you want to do?
It will help for asking an evolution.
Well in fact it seems that it is possible.
It will be documented and we will add an article in the KB.
Bellow is a sample:
= if(Params("pPageNumber") <5, 0, 1)
If the page number is less than 5 then property value equal 0, else propetry value equal 1.
This sample is very simple, just to understand, but we can have very complex expression.
Another interesting thing to know is the possibility to manage empty string inside expression. When you write an expression you can add an empty string with 2 simple quotes ('') but not one double quotes ("). I hope it is understandable...
Ie:
= "SynoName" + if(Params("pPageNumber") = 1, '', Params("pPageNumber"))
The name of the window if the page number is 1 and the name of the syno + page number otherwise.
Hmmm Ludo, I can see that you are learning fast!
Indeed, you are using already the term Quote :whistle:


