L C
L C

Reputation: 1

how to write info section in Marklogic datahub framework plugin

I would appreciate any hint as how to code MarkLogic DataHub Framework plugins to be able to output the entity "info" section under "instance" (you normally see in entity services). I think it should be in the content.sjs, but not sure how to write it. Thanks,

Upvotes: 0

Views: 33

Answers (1)

Dave Cassel
Dave Cassel

Reputation: 8422

You're correct -- content.sjs or content.xqy (depending on whether you choose to implement with JavaScript or XQuery) will put information into the instance section.

For a high-level overview of how the Data Hub Framework works, take a look at the "How It Works" page. To learn more about the details, I encourage you to follow the tutorial, particularly the "Harmonizing the Product Data" step.

Upvotes: 1

Related Questions