Skip to main content
Solved

How to Exclude Tables while Importing/Restoring snapshot inside the Pkg?

  • April 21, 2023
  • 4 replies
  • 290 views

Forum|alt.badge.img+1

Hi,

I have created New Customized tables in ISV Solution.

How to Exclude Data of New Customized Tables while Importing/Restoring snapshot through the Package?

Thanks,
Giri.

Best answer by Dmitrii Naumov

@girik06 usually you prepare the custom snapshot configs and include them in the same customization package together with your custom tables. That’s how you deploy them to customer instance

4 replies

praveenpo
Semi-Pro III
Forum|alt.badge.img+3
  • Semi-Pro III
  • April 21, 2023

HI @girik06,

You can try this way,

Extract the snapshot,remove the custom tables from the folder  and Re zip the folder and try.

 



 


 

 


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • April 21, 2023

Hi @girik06 

The snapshot configurations are stored in \App_Data\SnapshotConfigs. You can create new snapshot configurations based on existing ones.

It’s a simple xml, so to exclude a table you need to add 
    <Exclude  table="TableName" />

to the config.


Forum|alt.badge.img+1
  • Author
  • Pro I
  • April 21, 2023

Hi @Dmitrii Naumov.
In Client server We may not have access to App_Data Folders 
Can we access this Snapshot files in Package??

Thanks,
Giri


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • April 21, 2023

@girik06 usually you prepare the custom snapshot configs and include them in the same customization package together with your custom tables. That’s how you deploy them to customer instance