custom URL strings for a field | Ben Bimber | 2010-06-23 09:45 | |||||||||
Status: Closed | |||||||||||
In lists you can define a custom URL for a field. there is a max character length on the URL string. when you have many nested folders, the URL rapidly becomes too long. i tried these two things to workaround it: 1. I tried to make a relative URL (ie. ../otherFolder/list.view...), but this URL failed b/c of a bad format string (i think it expects 'http'). perhaps there is a different way to write relative URLs i'm not aware of. 2. normally i'd write a URL in labkey like: href="<%=contextPath%>/query<%=containerPath%>/executeQuery.view. b/c the full container path gets reduced in size, this gets rids of the URL length problem. however, this fails URL validation (no http) and also gives an invalid character error. I ended up aliasing the folder in question to reduce URL length. Is there a better solution? thanks in advance. |
|||||||||||
| |||||||||||