- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- {{wiki}} helper empty
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2022 09:36 AM
10-16-2022 09:36 AM
[10.10 11:08] Djordje Karadzic
Dear community
When developing our custom CatalogItem using your plugin API, we tried to get the data from the field defined as ‘content’ in the blueprint definition. However, there is no ‘content’ field in CatalogItemType.java nor does Handlebars return any value when we type {{content}}.
Interestingly, when the plugin is deactivated and a ‘content’ is added in the Blueprint, we see that there is some data. Based on the HTML code when the plugin is deactivated, we concluded that it must be the {{wiki}}
Handlebars helper that contains the data we are looking for. However, it is always empty when the plugin is activated, and we eventually receive a NullPointerException when trying to use it, although we have added data to the ‘content’. When we add the {{hasWiki}}
elements, we no longer have the NPE but there is still no data.
Is there anything wrong with our Handlebars parser or is that a general issue?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 06:50 AM
10-17-2022 06:50 AM
Re: {{wiki}} helper empty
Yes, it does.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 03:59 AM
10-21-2022 03:59 AM
Re: {{wiki}} helper empty
I have compiled your Plugin and I can get the content wiki to work. What error are you specifically getting in the logs and what content are you providing in the catalog item type?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 06:14 AM
10-17-2022 06:14 AM
Re: {{wiki}} helper empty
If you don’t choose your Plugin provided catalog item layout on the Catalog Item Blueprint, and leave it as the Morpheus standard, does the content show?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 05:28 AM
10-17-2022 05:28 AM
Re: {{wiki}} helper empty
Hi @ctaylor !
Sure, it’s just as it is in your examples:
{{#hasWiki}}
<div class="catalog-item-content wiki-content">
{{wiki}}
</div>
{{/hasWiki}}
Regards,
Djordje
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 08:09 AM
10-21-2022 08:09 AM
SolutionHello,
Here is your catalog item layout working within my 5.4.11 appliance: Screen Shot on 2022-10-21 at 16-05-02.png - Droplr. The only thing I can see is that the tool-tip you have added does not seem to operate correctly. I am not sure what is going wrong for you, as I can see my content “Hello World!”. Can you provide a video that showcases:
- You configuring the blueprint
- With a terminal running “morpheus-ctl tail morpheus-ui” on one of the Morpheus Appliance app nodes you ordering one of the catalog items.
- What you are missing from the catalog item order UI.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 06:55 AM
10-17-2022 06:55 AM
Re: {{wiki}} helper empty
What data are you providing in the content field? If you can’t share your full template here, please can you send it privately to me? Ideally id like to see your full plugin code if possible. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 01:17 AM
10-17-2022 01:17 AM
Re: {{wiki}} helper empty
Hi there,
Thanks for the question. Are you able to share your handlebars template so we can see how you are using the {{wiki}} helper?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 07:38 AM
10-21-2022 07:38 AM
Re: {{wiki}} helper empty
When trying without the hasWiki
helper, we receive a NullPointerException. With the hasWiki
helper no exception, but no content either. The content added to the blueprint is a simple plain text, such as:
'This is the content that should be displayed as a tooltip help text at the top of the page’.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2022 11:53 PM
10-21-2022 11:53 PM
Re: {{wiki}} helper empty
We fixed it by upgrading to 5.4.11 (we had 5.4.4 before). Ultimately, the issue has been resolved . Thank you for the hint and help!