Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Template editor – define conditional case on empty string field

Solved1.09K views5th April 2024low code apps Template Editor
3
Reinout Daels [SLC] [DevOps Advocate]780 5th April 2024 0 Comments

Hi Dojo,

I'm building a grid component with a cogwheel button in its template that allows users to trigger an automation script stored in one of the columns of the query visualized with the grid. However, if a certain row has no script specified, and therefore an empty string in that specific cell, I don't want the cogwheel icon to show up.

Is there any way with the template editor to trigger a conditional case when a string is empty? As far as I can find you can only trigger a case based on a certain value of a string, but not on an empty string, or am I missing something?

Reinout Daels [SLC] [DevOps Advocate] Selected answer as best 5th April 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Gilles Bara [SLC] [DevOps Enabler]6.80K Posted 5th April 2024 1 Comment

Hi Reinout, at this moment this is indeed a limitation. As a workaround... you can manipulate your column so you end up with 'something' to filter on. This can be done with a custom operator or a simple concatenate column manipulation:

Concatenate "AdHoc Control Scrip" => "^{0}^", and then you can use that column to apply a condition on "^^", which will address the empty scripts.

For from ideal, but should do the trick for now.

Reinout Daels [SLC] [DevOps Advocate] Posted new comment 5th April 2024
Reinout Daels [SLC] [DevOps Advocate] commented 5th April 2024

Thanks Gilles, this indeed works as a workaround for now. Would be good to have the option to filter on empty string in the future though, as this is something I’ve come across multiple times (in the past we worked around this by having an ad-hoc data source return “N/A” iso an empty string, but this is also not ideal)

You are viewing 1 out of 1 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin