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
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Scripted Connector not creating the element

Solved952 views30th September 2024JSON logs Scripted Connectors
4
Lucas Sanchez [DevOps Advocate]126 14th June 2024 2 Comments

I've been testing the scripted connector after attending Empower 2024 and noticed that while some JSON files work fine, others do not. The issue seems to occur with nested JSON files containing very little data. I haven't been able to pinpoint the cause of the failures.

Could anyone advise where I can check the logs to identify what's going wrong? Unfortunately, I can't share the JSON example as it contains sensitive data.

Thanks.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 30th September 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 27th August 2024

I see that this question has been inactive for some time. Do you still need help with this? If not, could you select the answer that has been most helpful for you (using the ✓ icon)?

Marieke Goethals [SLC] [DevOps Catalyst] commented 30th September 2024

As this question has now been inactive for a long time, I will close it. If you still want more information about this, could you post a new question?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
-1
Esteban Pardo [SLC] [DevOps Advocate]396 Posted 14th June 2024 1 Comment

Hello Lucas,

I have been working extensively on creating elements using a connector and/or Automation Scripts. So far, I have been using the IDms class. Here is a short example:

IDms dms = engine.GetDms();
IDma agent = dms.GetAgents().FirstOrDefault();

DmsElementId id = agent.CreateElement();

To check the logs for errors, you can use the information event console inside Cube. There is a good chance you will find valuable information about any errors you might encounter.

I hope this answer was useful to you. If not, I apologize for any misunderstanding.

Laurens Moutton [SLC] [DevOps Enabler] Posted new comment 17th June 2024
Laurens Moutton [SLC] [DevOps Enabler] commented 17th June 2024

Hi, to clarify: the question is about the Scripted Connectors which is a Python, or PowerShell script that is automatically running every minute to retrieve data and then push this to the Data API, which is going to automatically create a connector and element and will fill it with data. The solution provided in your answer is about an automation script, which is something different. More info about scripted connectors can be found here: https://docs.dataminer.services/user-guide/Advanced_Modules/Data_Sources/Data_Sources.html

You are viewing 1 out of 3 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