Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: pdf creation

pdf creation 1 Jahr 4 Monate her #94281

  • t3d
  • t3ds Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
Hi all,

I'm a new user to LimeSurvey so firstly a massive thank you to all involved in producing this great free software.

Now my query...

I'm looking to generate pdf reports 'on the fly' by using a hyperlink (or any other method that will achieve the same results).
I've had a look through the topics but not found what I'm looking for.

The scenario:
Using LimeSurvey 2 plus build 130311
A token based survey has been taken by all users.
Extra attributes have been recorded, i.e. class/course.

I would like to know if a pdf could be generated from a url with post/get variables instead of using the LimeSurvey interface?

Many thanks in advance,
Cheers
T
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94285

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2605
  • Dank erhalten: 302
  • Karma: 110
You can pass variables from the survey (responses, attributes from the token table, etc) pass onto a external script via the end url feature.

However, if there are a lot of variables to pass on, you might want to get them directly from the response table. You could pass on the id of the response and then make a sql query to the database.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94287

  • t3d
  • t3ds Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
Hi holch and thank you for your response.

My apologies if I'm picking you up wrong but I was thinking more along the lines of using the pdf generation in LimeSurvey (as all the hard work has already been done to handle the question types/stats and presentation).

I was hoping with a little coding, I could throw a URL at LimeSurvey and I could get the pdf as the result?

Thanks again
T
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94290

  • holch
  • holchs Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 2605
  • Dank erhalten: 302
  • Karma: 110
OK, then I got you wrong.

Unfortunately I don't really understand what you want to do. You want to use data from a survey or from an external tool?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94293

  • t3d
  • t3ds Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
Sorry holch, all data comes from a survey.
The extra attributes are actually irrelevant right now.

Essentially, I would like the pdf file that LimeSurvey creates but without having to go through the admin statistics interface to create it.

Instead I would like to click on a hyperlink/button (from an external webpage that contains the survey id and any other variables required) that takes the user to LimeSurvey and in turn, LimeSurvey generates the pdf there and then without the need for the admin statistics page?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94319

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6252
  • Dank erhalten: 799
  • Karma: 239
Hello,

Think you can use remotecontrol for this : docs.limesurvey.org/RemoteControl

But some work

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: t3d

pdf creation 1 Jahr 4 Monate her #94350

  • t3d
  • t3ds Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 4
  • Karma: 0
Hi Denis and thank you!

That's exactly what I was looking for.
What a fantastic facility.

Many thanks again
T
Letzte Änderung: 1 Jahr 4 Monate her von t3d. Begründung: Change topic icon to a tick as it's resolved
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 4 Monate her #94364

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6252
  • Dank erhalten: 799
  • Karma: 239
Hello,

Great :).

If you need some new function in remote control, and you have some PHP competence :
- You can put some feature request for the next release (maybe 2.06 if not in 2.05)
- Do some patch and make a pull request on github : help.github.com/articles/using-pull-requests

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

pdf creation 1 Jahr 3 Monate her #95201

  • itfixt
  • itfixts Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 14
  • Karma: 0
If it's any help, I have written a PHP module which uses FPDF to create a custom PDF report directly from the results database and am happy to provide some advice... or even quote for such a job (am I allowed to say that here?). The module is of course callable from a link on a web page.
This space accidentally left blank
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.164 Sekunden
Donation Image