Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Import and long attribute fields

Import and long attribute fields 3 years 5 months ago #92265

  • aukevann
  • aukevann's Avatar
  • Offline
  • Premium Lime
  • Posts: 60
  • Karma: 1
Standard the attribute fields in LimeSurvey are 255 characters.
For one of our attributes this is too short and I manually change it in the SQL database to 1024.
However, when I import a list of tokens into the token table, using CSV files, it cuts off after about 300 characters. Does anybody know a way around this, I can manually add the content to this attribute but it is too much work.

Regards,
Auke
The administrator has disabled public write access.

Import and long attribute fields 3 years 5 months ago #92300

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
Speed way : why not doing it via phpMyAsmin or another webdatabaseadmin
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Import and long attribute fields 3 years 5 months ago #92303

  • aukevann
  • aukevann's Avatar
  • Offline
  • Premium Lime
  • Posts: 60
  • Karma: 1
Thanks.
We need to import e-mail addresses, attributes and names using CSV files to automate some of the work setting out large surveys. So we can't do this via phpAdmin. Also switching between the various tools is extra work.
The administrator has disabled public write access.

Import and long attribute fields 3 years 5 months ago #92304

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9293
  • Thank you received: 1327
  • Karma: 384
You can import CSV file with phpMyadmin.

Maybe the admin user don't have access to phpMyAdmin, but seems the easiest way actually.

Else, you can contact directly some dev at www.limesurvey.com/ (or contact me, if you want i have a look).

Denis
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Import and long attribute fields 3 years 5 months ago #92359

  • aukevann
  • aukevann's Avatar
  • Offline
  • Premium Lime
  • Posts: 60
  • Karma: 1
Hi Denis,

Yes I have access to the phpMyAdmin.
There are also some issues with special characters import when I make the CSV file in Office on the Mac. Can you also help with this? How can I contact you directly?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.196 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form