Changing dataset table metadata

LabKey Support Forum (Inactive)
Changing dataset table metadata Anthony Corbett  2012-10-23 13:45
Status: Closed
 
I have found a workaround for this. I created a wiki page in the study container called 'Redirect to eCRF'. It reads the appropriate query parameters then sets the window.location to the correct wiki page in the child container.


/labkey/wiki/study/page.view?name=RedirecteCRF&eCRF=XXX&action=YYYY&pid=ZZZ will redirect to /labkey/wiki/study/eCRFs/page.view?name=XXX#/YYYY/ZZZ

Note: the javascript framework I'm using uses anchor tags (#/YYYY/ZZZ part of URL) to manage browser history so each wiki page is a single page javascript app with multiple views.



This leads me to another question.... Now that I have the updateURL set in the metadata is there a way using a query to get to the updateURL or does the updateURL come back in the JSON returned by LABKEY.Query.selectRows() API?

Thanks,

Anthony