Problem with Wiki page

LabKey Support Forum (Inactive)
Problem with Wiki page Jon (LabKey DevOps)  2015-06-10 13:23
Status: Closed
 
Hi Saravanan,

"test_page" isn't actually the directory, but the name of the actual wiki itself.

Your code is telling the page to render the wiki page called "test_page" into the Div Tag called "test_container".

For example, that URL you referenced here:

https://www.labkey.org/wiki/home/Documentation/page.view?name=include

That actual wiki page has the name of "include", so if I wanted to embed that into another wiki page, I would have written the code like this:

var test = new LABKEY.WebPart({
   partName: 'Wiki',
   renderTo: 'test_container',
   name: 'include',
});
test.render();

And it would populate in my Div Tag that has the id called "test_container".

Does that make more sense?

Regards,

Jon