Expand my Community achievements bar.

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
Employee Advisor

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
Employee Advisor

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

Employee Advisor

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

Employee Advisor

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