Concat JavaScritp | Community
Skip to main content
Level 2
March 22, 2018
Solved

Concat JavaScritp

  • March 22, 2018
  • 5 replies
  • 3162 views

Hi

how can i concatenate a string in javascript?

I used this:

      <Where>

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

      </ Where>

it does not work

Abdelkarim

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kapil_Sharma_

Hi,

Use this like :

      <Where>

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

      </ Where>

Regards,

Kapil Sharma

5 replies

Kapil_Sharma_
Adobe Employee
Kapil_Sharma_Adobe EmployeeAccepted solution
Adobe Employee
March 22, 2018

Hi,

Use this like :

      <Where>

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

      </ Where>

Regards,

Kapil Sharma

Level 2
March 23, 2018

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"

Kapil_Sharma_
Adobe Employee
Adobe Employee
March 23, 2018

Hi,

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

Level 2
March 23, 2018

Hi,

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

Abdelkarim

Kapil_Sharma_
Adobe Employee
Adobe Employee
March 23, 2018

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