No data type ‘TYPE’ could be found – OutSystems Combo Box
Tags: outsystems
Published: 2018-09-05 10:19:43

---
title: No data type ‘TYPE’ could be found – OutSystems Combo Box
published: true
tags: OutSystems
canonical_url: https://blogit.create.pt/ricardocosta/2017/05/02/no-data-type-type-could-be-found-outsystems-combo-box/
cover_image: https://i1.wp.com/blogit.create.pt/wp-content/uploads/2018/08/outsystems-destaque-echoboomer.jpg?resize=1000,420
---

I was trying to set up a Combo Box bounded to a static entity and I got this error when I published the website:

```
Internal Error 
No data type 'Status' could be found. 
Exception Details:
[1] Internal Error: No data type 'Status' could be found.
at OutSystems.HubEdition.Compiler.WebWidgets.ComboBox.dumpEntityDeclaration(TextWriter res)
 at OutSystems.HubEdition.Compiler.WebWidgets.ComboBox.DumpDataBindingCode(TextWriter writer)
 at OutSystems.HubEdition.Compiler.AbstractServerWebWidget.DumpOnDataBinding(TextWriter writer, NodeViewState viewState)
 at OutSystems.HubEdition.Compiler.AbstractServerWebWidget.DumpHandler(TextWriter writer, NodeViewState viewState)
 at OutSystems.HubEdition.Compiler.WebWidgets.ComboBox.DumpHandler(TextWriter res, NodeViewState viewState)
 at OutSystems.HubEdition.Compiler.Nodes.WebScreen.Dump(TextWriter writer)
 at OutSystems.HubEdition.Compiler.Flows.WebFlow.Dump()
 at OutSystems.HubEdition.Compiler.WebFlows.WebHandler.Dump(IEnumerable`1 webFlows)
 at OutSystems.HubEdition.Compiler.ESpace.Dump()
 at OutSystems.HubEdition.Compiler.Compiler.InnerCompile(CompilationContext context)
 at OutSystems.HubEdition.Compiler.Compiler.Compile(CompilationContext context)
 at OutSystems.HubEdition.Compiler.Utils.CompilerUtils.WithOverridenSettings(IDictionary`2 settingsOverride, Action body)
 at OutSystems.HubEdition.Compiler.Compiler.<>c__DisplayClass3.<Compile>b__1()
 at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
 at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
 at System.Threading.ThreadHelper.ThreadStart()
```

But TrueChange didn’t show me any errors or warnings. I got this error only when I tried to publish the application.

The problem was that the variable that I defined to hold the value entered by the user was of the Static Entity type instead of the Static Entity Identifier type.

[![](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox01.png?resize=369%2C481)](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox01.png)

That variable “Status” was defined like this:

[![](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox02.png?resize=370%2C154)](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox02.png)

And must be defined like this:

[![](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox03.png?resize=300%2C126)](https://i1.wp.com/blogit-create.com/wp-content/uploads/2017/05/OutSystemsComboBox03.png)

It must be a Status Identifier instead of the Status (static entity).

The post [No data type ‘TYPE’ could be found – OutSystems Combo Box](https://blogit.create.pt/ricardocosta/2017/05/02/no-data-type-type-could-be-found-outsystems-combo-box/) appeared first on [Blog IT](https://blogit.create.pt).