Unlisted string functions in DesignerJS... from C#?
Posted: Thu Aug 01, 2019 1:35 am
In the JS Designer for Mac I tried to do a filter of DataBand records using the Field is Value, String, Column SalesPerson, containing vName string variable. I tried many many ways of putting the vName filter like {vName}, '{vName}ยด, vName, "{trim(vVendedor)}", etc. ... and none worked. Finally I managed to make it work by setting the filter to Field is Expression and using:
Sales.SalesPerson.Contains(vName)
Two questions:
1) Is there a correct way to set the filter with the Field is Value? Maybe I am missing something
2) .Contains( ) is not in the function list of the Designer, however it works. Are there many other functions that can be used but that are not in the function list nor documented? Are they C# functions? (remember I am using Designer JS). Where can I find all the usable functions?
Thanks in advance.
Rene
Sales.SalesPerson.Contains(vName)
Two questions:
1) Is there a correct way to set the filter with the Field is Value? Maybe I am missing something
2) .Contains( ) is not in the function list of the Designer, however it works. Are there many other functions that can be used but that are not in the function list nor documented? Are they C# functions? (remember I am using Designer JS). Where can I find all the usable functions?
Thanks in advance.
Rene