Expand my Community achievements bar.

AC31271896
AC31271896
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi,The problem is not with the update query at all. Its with this line((res.@content + '').length) which is not calculating length properly and is outputting zero (0) when I expect 160 or more. Hence, its not going in "IF" loop.

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Thanks Jon for being patient with me so far. Really appreciate your help.I've tried putting it into array and then slice it afterwards, It ran all fine this time. However, the iValue column is still not updated to 1.The trouble here is -  This statement " if ((res.@content + '').length > 160)"  is r...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Thanks very much Jon. Appreciate your help & prompt response.I did try your suggestion and selected the @id column now and got rid of the other columns from <select> , but unfortunately it didn't work this time too. Here is my JS:When I tried to log the length of the content logInfo('length is : ' ...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Hi Jon,Thanks so much for your response. I did try your suggestion, but unfortunately it's still not working . Here is what I did:Added 2 columns. One with content of the SMS and one with value 0.Here is how my JS looks like where I'm reading @content & @value from the temp table and try to logInfo ...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Thanks Jon for your prompt response. Really appreciate it.I tried using this expression for nms:delivery schema. However, it gave me this error:25/02/2019 12:15:33 QUE-370015 The node of path '/contentDef/source' is not stored as an independent SQL field (document of type 'Deliveries (nms:delivery)'...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
  • Hi,I am looking to look for those SMS deliveries/delivery template through-out the AC instance where the content of the SMS exceeds 160 characters and I would want a list of all those campaigns exported.I had a look at the delivery form and figured that while trying to preview any SMS delivery, it c...

    Type

    Questions

    Views

    3.8K

    Like

    1

    Replies

    11
Top badges earned by AC31271896
Customize the badges you want to showcase on your profile