LABKEY.QueryWebPart and config.metadata | jeckels | 2012-03-02 16:47 |
Status: Closed | ||
Hi Lloyd, I'm sorry the documentation isn't clear. It's expecting the actual XML as a string, like you've done in the first line under the metadata property. It looks like you have the right top-level XML element as well. An example might be: '<tables xmlns="http://labkey.org/data/xml"><table tableName="Announcement" tableDbType="NOT_IN_DB"><columns><column columnName="Title"><columnTitle>Custom Title</columnTitle></column></columns></table></tables>' I'm not sure if you're tried it this way already, but the value for the "metadata" property should be a single object, not an array. I'll update the JavaScript API documentation to provide more details. It'll be part of the 12.1 docs. Thanks, Josh |
||