Hi Folks,
Can you please help in, how to implement custom JS functions which can be used in the expr of the data schema attribute.
Something similar to the below-mentioned expression.
expr="AESEncrypt(@id)"
Want to use the custom created functions rather than the AESEncrypt.
Any help or suggestion in this regard will be highly appreciated.
Thanks,
Nitesh
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi Nitesh,
You can create method in your schema and define a function or javascript for this method.
<methods> //definition of SOAP methods <method> ... </method> ... </methods>
Thanks,
David
Hi Nitesh,
You can create method in your schema and define a function or javascript for this method.
<methods> //definition of SOAP methods <method> ... </method> ... </methods>
Thanks,
David
Hi @nitesha38268385 ,
Were you able to resolve this query with the given solution? Do let us know.
Thanks!
Views
Replies
Total Likes
I think you can't, in that "expr=" you can use database functions that you can find in the advanced expression editor of the query activities:
As an example, you can encrypt the @ID with sha512 using expr="Sha512Digest(@id)"