# Analytic Builder custom block not showing after successful upload

**URL:** <https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082>\
**Category:** Forum\
**Tags:** Streaming-Analytics-Apama, cumulocity\
**Created:** [May 26, 2023, 9:41am UTC](https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082 "2023-05-26T09:41:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![matiur.rahman](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@matiur.rahman](https://community.cumulocity.com/u/matiur.rahman)\
**Post date:** [May 26, 2023, 9:41am UTC](https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082/1 "2023-05-26T09:41:10Z")

</div>

#### _Product/components used and version/fix level are you on: APAMA Analytics Builder_

#### \*Detailed explanation of the problem: I have created a custom analytics block following [u][https://community.cumulocity.com/t/analytics-builder-block-sdk/4262[/u]](https://community.cumulocity.com/t/analytics-builder-block-sdk/4262%5B/u%5D), however after successful upload to Calculation block category, I am **not able to see the newly uploaded block** in the block selection pane. please help \*

#### _Error messages / **full error** message screenshot / log file: NA_

#### _Is your question related to the free trial, or to a production (customer) instance? production (partner) instance_

#### _Have you installed all the latest fixes for the products and systems you are using? Yes_

---

<div class="post-metadata">

**Author:** ![Harald\_Meyer](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/harald_meyer/32/1959_2.png) [@Harald\_Meyer](https://community.cumulocity.com/u/Harald_Meyer)\
**Post date:** [May 28, 2023, 8:44am UTC](https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082/2 "2023-05-28T08:44:26Z")

</div>

Hi,

did you make sure to restart Apama? This is not done by default but there is a --restart parameter:

> <https://github.com/Cumulocity-IoT/apama-analytics-builder-block-sdk/blob/rel/10.16.0.x/doc/030-BuildingExtensions.md>

If you did restart, can you check the apama-ctrl microservice log for any errors after startup?

---

<div class="post-metadata">

**Author:** ![matiur.rahman](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@matiur.rahman](https://community.cumulocity.com/u/matiur.rahman)\
**Post date:** [May 28, 2023, 8:44am UTC](https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082/3 "2023-05-28T08:44:33Z")

</div>

There was a mistake in the $blockCategory as there is difference in the Category Shown on the Analytic Builder page and actual mapping as  
The following table lists the allowed values for `@$blockCategory` and the category names that are shown in the model editor’s palette:

| Value | Name in the palette |
| --- | --- |
| Input | Input |
| Output | Output |
| Logic | Logic |
| Calculations | Calculation |
| Aggregates | Aggregate |
| Flow Manipulation | Flow Manipulation |
| Utilities | Utility |

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [November 24, 2023, 8:44am UTC](https://community.cumulocity.com/t/analytic-builder-custom-block-not-showing-after-successful-upload/7082/4 "2023-11-24T08:44:40Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
