<p>This wiki page contains embedded web parts to use as examples for embedding web parts in wiki pages. Review the permissions requirements and more detailed explanations of this feature in this topic: <a href="wiki-page.view?name=include">Embed Live Content in HTML Pages.</a></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>

<h3>Embedded Report</h3>

<p>
    ${labkey.webPart(
    partName='Report', 
    allowChooseQuery ='false', 
    allowChooseView = 'false', 
    reportName ='Wiki Edit Activity', 
    queryName='AllWikiVersions', 
    schemaName ='wiki', 
    showFrame='false', 
    title = 'Ages')}
</p>

<h3>Embedded Query Web Part</h3>
<p>${labkey.webPart(partName='Query', showFrame='true', title = 'Missing Value Indicators', schemaName ='core', queryName ='MVIndicators', allowChooseQuery ='true', allowChooseView = 'true')}</p>

<h3>Embedded List</h3>
<p>${labkey.webPart(partName='Query', schemaName = 'lists', queryName = 'Reagents', showFrame = 'false')}</p>


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

<h3>Embedded Content from Another Wiki</h3>
<p>${labkey.webPart(partName='Wiki', showFrame='true', title='Assay Tutorial Page: Embedded', name='assayTutorial')}</p>

<h3>Embedded Files Web Part</h3>
<p>${labkey.webPart(partName='Files', location='right', showFrame='true', title='File Browser')}</p>

<h3>Embedded Subfolders Web Part</h3>
<p>${labkey.webPart(partName='Projects', containerTypes='folder', containerFilter='CurrentAndFirstChildren', hideCreateButton='true', showFrame='true', iconSize='small', labelPosition='side', title='Subfolders')}</p>

<h3>Embedded Table of Contents</h3>
<p>${labkey.webPart(partName='Wiki TOC', location='right', showFrame='true', title='My Pages')}</p>

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all