Custom Functions in schema expression.

nitesha38268385

16-09-2020

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

Attributes custom js functions javascript Schema

Accepted Solutions (0)

Answers (2)

Answers (2)

DavidKangni

MVP

16-09-2020

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