How can I retrieve the values of the params associated to the Input profile definition Instance?
The ProfileLoad script has an script param: ProfileInstance. This contains a Json with Node and In:
ProfileInstance {"Node":"89704d47-4ebf-4a8b-b10a-ebe0c40863fd","In":"e96cd576-ac3e-4e23-9fa7-f9d6300fd5ea"}
NodeProfileConfiguration nodeProfileConfiguration = new NodeProfileConfiguration(this.InputData.ProfileInstance);
var helper = new ProfileParameterEntryHelper(engine);
engine.GenerateInformation("** amount of interfaces " + nodeProfileConfiguration.Interfaces.Count());
When using this code the amount of interfaces is 0.
So how can I get the params of the Input Interface?
Hi Mieke,
The profile instance script parameter is a serialized dictionary of GUIDs that you then can use to retrieve data from the system.
Are you using the template "PA_ProfileLoadTemplate" script as a base for yours? Could you test with that one to see if you get the same result?