HI guys this getdms var cant read it it saying
Severity Code Description Project File Line Suppression State Details
public class MaskElementDialog : Dialog
{
private readonly Label helloPapi;
private readonly Label elemPapi;
public MaskElementDialog(IEngine engine) : base(engine)
{
helloPapi = new Label($"Hi {engine.UserDisplayName} please select an elment to mask");
elemPapi = new Label("Eelemtn");
var getdms = engine.GetDms();
EelemntDropdown = new DropDown();
}
Error (active) CS1061 'IEngine' does not contain a definition for 'GetDms' and no accessible extension method 'GetDms' accepting a first argument of type 'IEngine' could be found (are you missing a using directive or an assembly reference?)
how to set it properly
What can be this after execute the script on my code (code is below)
yeah i i’ve done it thanks anyway
You are missing this piece of comment in your code:
https://docs.dataminer.services/develop/devguide/Automation/Howto/Getting_Started_with_the_IAS_Toolkit.html?q=iastoolkit#defining-an-interactivecontroller
===
// DO NOT REMOVE THIS COMMENT OR THE SCRIPT WON’T RUN!
// DataMiner evaluates if the script needs to launch in interactive mode.
// This is determined by a simple string search looking for “.FindInteractiveClient(” in the source code.
// However, because of the toolkit NuGet package, this string cannot be found here.
// So this comment is here as a workaround.
==