How to change or get the URL length of more than 2000 characters? ACC Work flow javascript code | Community
Skip to main content
January 9, 2020
Solved

How to change or get the URL length of more than 2000 characters? ACC Work flow javascript code

  • January 9, 2020
  • 1 reply
  • 3023 views

I want to change the length of my string type URL field to 2048 i.e.  <attribute label="Links Url" length="2048" name="lnksUrl" type="string"/>  but its not working. Its only working when the length is of 1024. Any idea on how we can manage to extract.

 

Do i need to take any other data type instead of string?

 

In my code I have written as

 

* In Schema

  <attribute label="Links Url" length="2048" name="lnksUrl" type="string"/>

 

* In Workflow Javascript -

  var linksURL = jsonObj.content[index].links.url;

* And asigning it to the schema

  lnksUrl ={linksURL}

 

Any idea ? 

 

But not working.

 

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 Jonathon_wodnicki

Hi,

 

What is not working? Does memo work instead of string?

 

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
January 9, 2020

Hi,

 

What is not working? Does memo work instead of string?

 

Thanks,

-Jon

GauravPKAuthor
January 13, 2020
Its working fine. Thanks
Level 2
September 1, 2022

What was the solution? We are facing a similar problem.

Thanks,

Jim