Does sp-config export only cloud rules?

Hi All,

I am trying to export the connector rules through sp-config fromsbx but iam not able to see the connector rules. Only the cloud rule is coming in the response.

Is there any way to achieve this?

Thanks,
Shantha Kumar

2 Likes

It should export connector rules as well. Check here and observe if you are missing something: Sp-config Rules Exported - #7 by tyler_mairose

Hi @gourab yes i have tried this but it only shows cloud rules also the Config Hub also showing only cloud rule when i take the backup of entire rule object

2 Likes

I think they changed this around recently with a different object type of CONNECTOR_RULE. So you need to pass that into your sp-config export types like this:

{
  "description": "Export all available objects",
  "excludeTypes": [],
  "includeTypes": [
    "RULE",
    "CONNECTOR_RULE"
  ],
  "objectOptions": {}
}

RULE = Cloud Rule
CONNECTOR_RULE = Connector Rule

Thanks @patrickboston Now i don’t need to do this manually on prod side :grinning:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.