How to create a new Schema

LabKey Support Forum
How to create a new Schema marcia hon  2018-03-02 08:05
Status: Closed
 
Hello,

How do I create a new schema?

Thanks,
Marcia
 
 
marcia hon responded:  2018-03-02 08:12
My goal is to create a WebPart that lists only queries that I have created.
 
Jon (LabKey DevOps) responded:  2018-03-09 15:02
Hi Marcia,

Have you taken the time to review our robust Support Documentation?

https://www.labkey.org/Documentation/wiki-page.view?name=default

Many of your questions can be answered in our docs and we even have videos to help you understand how to both use LabKey and understand the functionality:

https://www.labkey.org/Documentation/wiki-page.view?name=videos

For future, please do your best to consult our fantastic docs first before posting to the Community Forums.


Regarding your question on creating a new schema, this all depends on the type of schema you want to do.

There are schemas that can be created in the LabKey database via modules:

https://www.labkey.org/Documentation/wiki-page.view?name=sqlScripts

There are also External Schemas that you can create after you setup an External DataSource:

https://www.labkey.org/Documentation/wiki-page.view?name=externalSchemas

And there are Linked Schemas, which are schemas you can create that are based on an existing LabKey schema and queries/tables:

https://www.labkey.org/Documentation/wiki-page.view?name=filterSchema

If you want to create a webpart and only list the queries that you created, creating a new schema (even a Linked Schema) isn't really necessary since you can setup individual webparts for those queries or you can setup a wiki and have all those query web parts be displayed in the wiki or just create hyperlinks for those queries in the wiki as explained in my response to you on your other forum post:

https://www.labkey.org/home/Support/Developer%20Forum/announcements-thread.view?rowId=17241

Regards,

Jon