Hello,
I am having a requirement where I need to call "SetInfluenceGoals" method of "ScoringGoalsController.Instance" inside the method "UpgradeModule" of the "IUpgradeable".
"UpgradeModule" is in "FeatureController" which is used as the Business controller for the module.
I need this to set the goals when a module is installed and also remove the goal when the module is uninstalled.
In order to call "SetInfluenceGoals", have to pass the input parameters which are PortalID and List<ScoringGoal>.
Unfortunately PortalID is not accessible inside the FeatureController.
Any help is appreciated.
Thanks in advance.