Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Custom Functions in schema expression.

Avatar

Avatar
Validate 1
Level 1
nitesha38268385
Level 1

Likes

0 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
nitesha38268385
Level 1

Likes

0 likes

Total Posts

15 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
nitesha38268385
Level 1

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 (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct Reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Boost 250
MVP
DavidKangni
MVP

Likes

258 likes

Total Posts

372 posts

Correct Reply

152 solutions
Top badges earned
Boost 250
Validate 1
Give Back 5
Give Back 3
Give Back 25
View profile
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

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile
Sukrity_Wadhwa
Employee

24-09-2020

Hi @nitesha38268385 ,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!