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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

IMPORT TABLE action in element tables where the user can add a row

Solved1.07K views11th July 2023add new row adl2099 CSV Table import
1
Alberto De Luca [DevOps Enabler]4.58K 28th November 2022 0 Comments

Hi Dojo,

I've bumped a few times in element tables where the user can add a new row:
the "export table" is always defined - sort of DataMiner default behaviour,
but importing rows from a CSV file is not always present (it seems to be depending on the implementation of the specific protocol):

Are there any guidelines available?

Where viable, I'd like to always have the possibility to ADD NEW ROWS from CSV upload or "Add N Rows" like the one recently added. Keen to find out if this has to become a feature suggestion or it can be normally sorted within the related protocol.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Laurens Moutton [SLC] [DevOps Enabler]8.74K Posted 29th November 2022 3 Comments

Hi Alberto,

The possibility to export a table is default DataMiner behavior. The possibility to add new row(s) is something that is custom defined in the protocol.xml, for more info see help how this is achieved.

Importing a table is not standard DataMiner behavior because of the following reasons:

  • Data is usually entering through communication with a device, e.g. through SNMP. It would not really make sense here to import the data through csv and then it gets overwritten with the next poll.
  • Functionality of the protocol.xml could be depending on data in other tables (e.g. table A has a column from which value depends on other columns of tables B and C). Simply overwriting that column from table A could be displaying something that doesn't make sense anymore. The functionality to determine the value in table A could only get triggered with a change of polled tables B or C and if those values are stable then no trigger goes of.
  • Changing multiple values at the same time could require extra input with values that depend on each other. Like when clicking on "add row" that a popup is shown with the needed items to be set.
  • Exporting data is based on the client cultural settings, e.g. datetime format. When importing the data again it would need to be in the exact same format.

Because of above reasons it's better that the protocol.xml implements the functionality that needs to happen when a (config) table import is feasible. This way the importing is properly handled (e.g. input value validation between 2 different columns) and all other related data in the element is handled accordingly.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Alberto De Luca [DevOps Enabler] commented 6th December 2022

Thanks for the comprehensive feedback, Laurens – appreciated.
Would there be any guidelines for cases where this is viable and a big improvement for the protocol (from a user experience perspective)?

Based on your list, I’d say point 1 & 2 are clear examples where the import should not be implemented. I’m sure a workaround is available for case 4, as many protocols already implement this mechanism when config parameters for the device can be entered via DataMiner (e.g. NX4600 https://catalog.dataminer.services/result/driver/4250 had a table supporting the CSV upload to specify the multicast groups & sources that the encoder should listen to, in order to receive the video feed – entering each single line via GUI wouldn’t be the smartest of the exercises from an automation point of view, especially if the info is already formatted in a file that can be imported – I used to define one row via GUI, export the table, reimport the table with all the required rows – fast and easy).

Which leads us to case 3: essentially, whenever an “Add Row” is implemented in the protocol for a given table (where the export is always available by default), wouldn’t it make sense to always build the “Import Table” command so that multiple rows can be entered at once?

Use cases are the one listed above for e.g. multicast sources to be added on a device as part of configuration parameters, but also any element with a table that is essentially a GUI for what would be an “INSERT” into a DB-type of element.

I’ve been working recently with a bespoke (non-SL) protocol that really lacks this feature – so I’m looking for options & guidelines for the dev team, to get the feature implemented. Any steer will be helpful.

Laurens Moutton [SLC] [DevOps Enabler] commented 6th December 2022

I can think of examples when an add row would not immediately mean that there should be an import table functionality. For example an SNMP table could have an add row functionality that is again having device communication involved. Having the import table functionality is something that would be hard to support by default in DataMiner, so this requires custom implementation in the protocol.xml which is the responsibility of the developer and is something to be agreed between the developer and the end user that orders the protocol.xml what functionality needs to be included.

Alberto De Luca [DevOps Enabler] commented 9th December 2022

I get your point, Laurens – indeed it makes sense if this is handled within the specific protocol. In such a case, are there any guidelines to achieve this?
Any caveats to be considered for a CSV upload implementation?
You mentioned the regional settings for date formats – how does this work when CSV upload is implemented?

I admit I might be biased by my previous use-cases, yet from the subject line, can’t really think of many cases where if the user adds a row, then he will not need to add multiple rows at once.
Limit case: could we consider a row as a mini-table with multiple columns and just one row?
:/

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

Recent questions

Invoke HTTP Session from QAction 1 Answer | 1 Vote
Masked alarmes permission management 0 Answers | 0 Votes
Remove all Widgets from Section 2 Answers | 5 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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