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

App Package Configure Button is Greyed out

Solved1.04K views14th July 2023application package dmapp
1
Tobias Pfotzer [DevOps Advocate]80 18th May 2022 1 Comment

I am doing some prototyping with application packages and have created a simple example (by hand) with an Install, Configure and Uninstall script.

Uploading, installing and uninstalling via the SLNet Test Client works correctly, however the Configure button is greyed out.

I have tested the following so far:

  • Stripped down the Configure script to the minimum (it now only contains the Entrypoint function with an information event message)
  • Added a <Configuration> entry to the AppInfo.xml as seen in this article
  • Removed all references to third party libraries

I am running DM 10.1.0.0-9966. I was also looking at the example scripts in the Companion Files archive, but they are not working out of the box (I assume due to some changes in the namespace hierarchies). Are there more recent examples I can use for reference?

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

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

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Seppe Vanhee [SLC] [DevOps Member]336 Posted 23rd November 2022 1 Comment

Hi Tobias,

The 'configure' button should be enabled in client test tool when the app package was correctly installed, has a config script, and at least one configuration entry in the AppInfo.xml. Can you double-check the following things?

  • The 'Configuration' tag in the AppInfo should contain at least one entry. I have verified the AppInfo.xml at the bottom of this answer works on DM10.2.12, and should work on earlier DM versions as well. The important bit is everything between the 'Configuration' tag.
  • Make sure the install status of the DMApp is marked as 'Installed' in the installed packages tab of the App Packages window in client test tool.
  • Make sure the Config.xml file is contained in the .dmapp. If you unzip the .dmapp it should be in the Scripts folder, and should have the name 'Config.xml'
  • If all this looks ok, it might be a good idea to check the the installed app info. See below for some example code you can use in an automation script. The 'Configuration' of the installed app should not be null, and there should at least be one configuration entry:

The script to check the installed apps:

using Skyline.DataMiner.Automation;
using Skyline.DataMiner.Net.AppPackages;

namespace CheckInstalledApps
{
public class Script
{
public void Run(Engine engine)
{
var helper = new AppPackageHelper(engine.SendSLNetMessage);
var installedApps = helper.GetInstalledApps();

engine.GenerateInformation($"Got {installedApps.Count} installed apps");
foreach (var installedAppInfo in installedApps)
{
if (installedAppInfo.AppInfo?.Configuration == null)
{
engine.GenerateInformation($"App {installedAppInfo.AppInfo.Name} ({installedAppInfo.AppInfo.Version}): no configuration defined");
continue;
}
else
{
engine.GenerateInformation($"App{installedAppInfo.AppInfo.Name} ({installedAppInfo.AppInfo.Version}): {installedAppInfo.AppInfo?.Configuration?.Entries?.Count} entries in the configuration");
}
}
}
}
}

The example AppInfo.xml:

<AppInfo>
<Name>RT_APP_PACKAGES_Configuration</Name>
<DisplayName>This is an example package</DisplayName>
<Version>1.0.0</Version>
<Description>This is an example package for RT purposes</Description>
<LastModifiedAt>2020-05-07T09:15:05</LastModifiedAt>
<MinDmaVersion>10.0.7</MinDmaVersion>
<AllowMultipleInstalledVersions>true</AllowMultipleInstalledVersions>
<Configuration>
<Entries>
<Entry>
<ID>ExampleEntry</ID>
<Name>Example Name</Name>
</Entry>
</Entries>
</Configuration>
</AppInfo>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023
Tobias Pfotzer [DevOps Advocate] commented 16th January 2023

Dear Seppe,

Thank you for you detailed response.

In the end, I figured out myself what the problem was: I had thought that the configuration entries are entirely optional (as written in one of the text references), however it seems that at least the outer or nodes have to exist before the AppInfo.xml is valid against the schema. After adding some configuration parameters, I was then able to run the script.

Another question on the topic: Do you plan to extend the functionality of the parameters to be more than strings? Using a drop-down menu with fixed values would simplify the data validation.

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