What is the maximum string length of a String system property?

lonesoac01
Giga Guru

I am interested in making a mini-table in a system property.  The reason I want to make a mini-table is because the target audience is really small and so is the data set.  I really do not want to create a custom table if I can help it.

 

Thank you.

1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @lonesoac01,

 

You really should not do that. I understand why you might think this can be a solution, but it really isn't.

If the reason is you don't want to use a table license for such a small table, consider setting up a table which could be used for more use cases as this. Introduce a type field in a custom table, which helps you to differentiate between your different records in the table, and work from there.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

View solution in original post

5 REPLIES 5

Peter Bodelier
Giga Sage

Hi @lonesoac01,

 

You really should not do that. I understand why you might think this can be a solution, but it really isn't.

If the reason is you don't want to use a table license for such a small table, consider setting up a table which could be used for more use cases as this. Introduce a type field in a custom table, which helps you to differentiate between your different records in the table, and work from there.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

That makes sense.  My SN instance has been around long enough to where we MUST have a "junk" table for this occasion.

KevinBellardine
Kilo Sage

This is a bad idea for a variety of reasons. If you really don't want to create a custom table then I would suggest creating a script include and storing the data there.

Anurag Tripathi
Mega Patron
Mega Patron

The Max length is 4000 for a property value

 

I have used properties to store JSON or comma separated values but not table. Im not sure how you intend to use it but think about scalability and also properties are not for ends users. 

If you have table design that will have just 2-3 rows max and a couple of columns then maybe you can use a property but nothing more than that, in that case id suggest use JSON

 

-Anurag