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

SOLVED

Concat JavaScritp

abdelkarimg3379
Level 2
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
kapilsharma0101
Correct answer by
Level 4
Level 4

Hi,

Use this like :

      <Where>

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

      </ Where>

Regards,

Kapil Sharma

View solution in original post

5 Replies
kapilsharma0101
Correct answer by
Level 4
Level 4

Hi,

Use this like :

      <Where>

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

      </ Where>

Regards,

Kapil Sharma

View solution in original post

abdelkarimg3379
Level 2
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"

kapilsharma0101
Level 4
Level 4

Hi,

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

abdelkarimg3379
Level 2
Level 2

Hi,

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

Abdelkarim

kapilsharma0101
Level 4
Level 4

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