Linking between custom tables

LabKey Support Forum (Inactive)
Linking between custom tables Jon (LabKey DevOps)  2018-12-17 23:07
Status: Closed
 
Hi Marcia,

You should be able to go into each dataset and enable the ParticipantId field to use a URL property and use a substitution token to populate the participantId value.

For example, this is what we have listed for one participant in our demo study:

https://www.labkey.org/home/Demos/Study/demo/study-participant.view?participantId=103505

We can insert the following into a URL property field, which would redirect the end-user to the participant view page for this participant:

/study/participant.view?participantId=${ParticipantId/ParticipantId}

For more details, please take a look at our documentation below:

https://www.labkey.org/Documentation/wiki-page.view?name=urlEncoding#display
https://www.labkey.org/Documentation/wiki-page.view?name=addSimpleUrlProperty
https://www.labkey.org/Documentation/wiki-page.view?name=participantViews

Regards,

Jon