Genrating letters which include data

LabKey Support Forum (Inactive)
Genrating letters which include data anders kielland  2015-02-04 11:42
Status: Closed
 
Thank you very much Jon

I believe I managed to create the wiki with the javascript query (very good explanation - I haven't done any coding before).

But I don't think I manage to set up the right URL in the Customized Participant View

The Wiki letter seems to have this URL:
https://labkey01.usit.uio.no/labkey/wiki/TNS%20%28date%29/page.view?name=Letter

I use this in Customized Participant View:
aTag.setAttribute('href',"labkey01.usit.uio.no/labkey/wiki/TNS%20%28date%29/page.view?name=Letter&participantId=" + participantId + "&_print=1");

And got and 404: Error page (see attached)

It might be something else I haven't understood; however, I wonder if you can make some sense out of it?

kind regards, Anders