Expand my Community achievements bar.

SOLVED

Query activity > Output columns > Added column: How to change default type?

Avatar

Level 2

Hello

In the output columns I added a new column with an Expression like this:

$(vars/@aabbcc)

The content of this variable I created in a JS activity in vars.aabbcc

Now I get the following error:

PM query6 PGS-220000 PostgreSQL error: ERROR:  value too long for type character varying(255)

The problem is that the standard type is string and the standard length is 255, but the content of vars.aabbcc is longer than 255 chars.

So: How can I change the allowed length or change the type from text to memo?

Michael

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Michael,

Unfortunately I don't see how this is possible. We tried a few tricks with one of our most seasoned developer but could not manage to change the length nor the type of the field.

Please let us know if you find a solution as this will eventually be useful for the community.

Florent

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi Michael,

Unfortunately I don't see how this is possible. We tried a few tricks with one of our most seasoned developer but could not manage to change the length nor the type of the field.

Please let us know if you find a solution as this will eventually be useful for the community.

Florent