<p>This wiki page contains embedded web parts.</p>

<p>Click <a href="wiki-source.view?name=wikiInsertExamples">view source</a> to review the syntax that inserts each of these web parts.</p>

<h2>Embedded Query Web Part</h2>
<p> ${labkey.webPart(partName='Query', showFrame='true', title = 'Module Inventory', schemaName ='core', queryName ='Modules', buttonBarPosition ='top', allowChooseQuery ='true', allowChooseView = 'true')} </p> 

<h2>Embedded Doc Search Box</h2>
<p> ${labkey.webPart(partName='Search', location='right', showFrame='true', includeSubFolders='false')} </p> 

<h2>Embedded Content from Another Wiki</h2>
<p>${labkey.webPart(partName='Wiki', webPartContainer='aa644cac-12e8-102a-a590-d104f9cdb538', showFrame='true', title='Genotyping Main Page: Embedded', name='genotyping')} </p>

<h2>Embedded Table of Contents</h2>
<p> ${labkey.webPart(partName='Wiki TOC', webPartContainer='aa644cac-12e8-102a-a590-d104f9cdb538', location='right', showFrame='true', title='My Pages')}</p>

<h2>Embedded Files Web Part</h2>

<div id='fileDiv'/>
<script type="text/javascript">
LABKEY.requiresScript("fileBrowser.js");
LABKEY.requiresScript("FileContent.js");
LABKEY.requiresScript("FileUploadField.js");
LABKEY.requiresScript("PipelineAction.js");  //required if in production mode
    var wikiWebPartRenderer = new LABKEY.WebPart({
      partName: 'Files',
      renderTo: 'fileDiv'
    });
wikiWebPartRenderer.render();
</script>

previousnext
 
expand allcollapse all