Skip to main content

Hello, I’m trying to figure out why the export plan section in Ataccama ONE desktop keeps showing “No Records Found” although I have created a list of export plans. Once I create an export plan, I save and publish it, but it does not show up as part of the export plan section instead it says, “JSON error”. Does anyone have any idea on how to fix this issue ?

Thank you,

Prithika

 

 

Hi @Prithika ,

Could you elaborate more on this. What are you trying to export and also provide us the Json call you are trying to us for this scenario?

Regards,

Srija Piratla


Hello @srija piratla

I was trying to export a catalog item and in the JSON code I mentioned the table and attributes name, along with the masking rules. When I submitted the export plan, it showed me a JSON error and later all the export plan records disappeared. When I create new plans with simpler JSON code to check if they appear, they get saved but do not appear to be part of the export plan records. The main issue is that once a plan is created, it gets saved but does not appear in the records, and right after that I see a pop-up JSON error from the previous plan that I created.

 

Here is the screenshot of the export plan, 

 

Here is the JSON code I used, 

 

{

  "exportPlan": {

    "name": "CustomerDataExport",

    "entities":

      {

        "entityName": "Customer",

        "maskingRules":

          {

            "attributeName": "SSN",

            "classification": "confidential",

            "maskingRule": "TestRule1"

          },

          {

            "attributeName": "CreditCardNumber",

            "classification": "confidential",

            "maskingRule": "TestRule1"

          },

          {

            "attributeName": "Email",

            "classification": "restricted",

            "maskingRule": "TestRule2"

          },

          {

            "attributeName": "PhoneNumber",

            "classification": "restricted",

            "maskingRule": "TestRule2"

          }

        ]

      }

    ]

  }

}


Hi @Prithika ,

 

To export a Catalog item we need to write the Json call as below :

{
  "versionSelector": {
    "publishedVersion": true
  },
  "exportId": true,
  "dataSelectors": e
    {
      "node": "catalogItem"
    }
  ]
}

After saving and publishing it. Go to the Catalog item you wanted to export. Such that you can see in the export section 

Here is the link - https://docs.ataccama.com/one/latest/import-and-export.html and based on the requirements need to modify the json call.

Hope this helps.

Regards,

Srija Piratla


Hi @Prithika, I’m closing this thread for now, if you have any follow up questions please feel free to share them here in the comments or create a new post 🙋‍♀️


Reply


ataccama
arrows
Lead your team  forward  OCT 24 / 9AM ET
×