Unable to activate the Actions Pack feature.

by Alex » Tue Jul 04, 2017 8:10 am

Hi,

I'm trying to activate the Actions Pack feature after a site was created from template.
Used feature-ID is {d7891031-e7f5-4734-8077-9189dd35551c}.
The returned message from the workflow is: "Exception: Feature with Id 'd7891031-e7f5-4734-8077-9189dd35551c' is not installed in this farm, and cannot be added to this scope."

I also used this to get more detailed error:
Code: Select all
(function(featureId, enable) {
    var clientContext = new SP.ClientContext.get_current();
    var featureGuid   = new SP.Guid('{' + featureId + '}');
    var webFeatures   = clientContext.get_site().get_features();

    if (enable) {
        webFeatures.add(featureGuid, true, SP.FeatureDefinitionScope.site);
    } else {
        webFeatures.remove(featureGuid, false);
    }

    clientContext.executeQueryAsync(
        function() { alert('Success!'); }
      , function(sender, args) {
          console.log('Fail: ' + args.get_message() + '\n' + args.get_stackTrace());
    });
})((function(featureId, enable) {
    var clientContext = new SP.ClientContext.get_current();
    var featureGuid   = new SP.Guid('{' + featureId + '}');
    var webFeatures   = clientContext.get_web().get_features();

    if (enable) {
        webFeatures.add(featureGuid, true, SP.FeatureDefinitionScope.site);
    } else {
        webFeatures.remove(featureGuid, false);
    }

    clientContext.executeQueryAsync(
        function() { alert('Success!'); }
      , function(sender, args) {
          console.log('Fail: ' + args.get_message() + '\n' + args.get_stackTrace());
    });
})('d7891031-e7f5-4734-8077-9189dd35551c', true), true);


The return was:
Code: Select all
Fail: Dependency feature 'Plumsail.ActionsPack_Plumsail.ConfigPage' (id: 9a5d1295-65c0-4c8e-a926-968da90d2ef9) for feature 'Plumsail.ActionsPack_Plumsail.ActionsPack' (id: d7891031-e7f5-4734-8077-9189dd35551c) is not activated at this scope.
undefined


What could be wrong? The solution "Plumsail.ActionsPack_Plumsail.ConfigPage" seems to be hidden...

br, Alex
Alex
 
Posts: 5
Joined: Mon Jun 12, 2017 10:11 am

by Alex » Tue Jul 04, 2017 8:32 am

ok, the solution seems to be to re-activate the Actions Pack Solution.
Alex
 
Posts: 5
Joined: Mon Jun 12, 2017 10:11 am

by andrelima » Tue Jul 11, 2017 9:16 pm

Hello,
I'm glad to know you found the solution by yourself. Feel free to contact us again if you need any other help.

Best regards,
Andre Lima
Plusmail Team.
User avatar
andrelima
 
Posts: 60
Joined: Wed Apr 19, 2017 2:06 pm


Return to Workflow Actions Pack for Office 365