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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Concat JavaScritp

Avatar

Level 2

Hi

how can i concatenate a string in javascript?

I used this:

      <Where>

        <condition expr = {"@ idEmail = '+ content. @ name +'"} />

      </ Where>

it does not work

Abdelkarim

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi,

Use this like :

      <Where>

        <condition expr = {"@ idEmail = ' "+content. @ name+" ' "} />

      </ Where>

Regards,

Kapil Sharma

View solution in original post

5 Replies

Avatar

Correct answer by
Level 4

Hi,

Use this like :

      <Where>

        <condition expr = {"@ idEmail = ' "+content. @ name+" ' "} />

      </ Where>

Regards,

Kapil Sharma

Avatar

Level 2

thank you it works

To apply a sort of ASC type is enough to put the attribute shortDesc = "true" To false?

Or there is a sort Asc attribute = "true"

Avatar

Level 4

Hi,

No, there is no ASC attribute. You have to use the DESC attribute for both Ascending And Descending Sort.

Avatar

Level 2

Hi,

sortDesc = "false" does this mean that it is an ASC type sort?

Abdelkarim

Avatar

Level 4

Yes correct, if you are using the Order By Clause and using sortDesc = "false", it will sort in ascending manner.