Ad Widget

Collapse

Item prototype derived from odbc discovery with type text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ace
    Junior Member
    • Jun 2021
    • 10

    #1

    Item prototype derived from odbc discovery with type text

    Hello,

    For my odbc discovery use case I've been using calculated item prototypes with the value being the LLD macros from the odbc discovery rule. However calculated item cannot have the item type TEXT, and I need one of those as well.

    A solution I found was to first receive an INT result from the DB query, then use a dependent item with preprocessing to convert it from INT to String, but this is pretty clunky. Is there another way to do this?

    Best regards
  • Ace
    Junior Member
    • Jun 2021
    • 10

    #2
    After updating to 6.0 LTS it's possible to choose TEXT in calculated items. Issue solved.

    Comment

    Working...