cancel
Showing results for 
Search instead for 
Did you mean: 
Post a Question

Batch add objects , what is the correct CSV format

Jump to solution

I created a CSV file , the format is below

I then transferred this csv file to the Checkpoint management server, run the batch command,  i got the following errors

Can someone please assist?

Thanks

0 Kudos
1 Solution

Accepted Solutions
Vladimir
Pearl

Re: Batch add objects , what is the correct CSV format

Jump to solution

Please see How to import multiple objects into R80.x Management database using .csv file for the accepted CSV format.

When you are showing it in a spreadsheet, we do not know what the delimiters are when it is opened in the text editor.

Additionally, if you are creating this file on Windows, it is likely that the EOL (end of line) characters are incorrect.

You can either compensate it by using dos2unix https://bencane.com/2014/02/11/converting-files-from-windows-format-to-unix-format-with-dos2unix/ 

or using something like Notepad++ to save the file in the compatible format.

Regards,

Vladimir

0 Kudos
3 Replies
Vladimir
Pearl

Re: Batch add objects , what is the correct CSV format

Jump to solution

Please see How to import multiple objects into R80.x Management database using .csv file for the accepted CSV format.

When you are showing it in a spreadsheet, we do not know what the delimiters are when it is opened in the text editor.

Additionally, if you are creating this file on Windows, it is likely that the EOL (end of line) characters are incorrect.

You can either compensate it by using dos2unix https://bencane.com/2014/02/11/converting-files-from-windows-format-to-unix-format-with-dos2unix/ 

or using something like Notepad++ to save the file in the compatible format.

Regards,

Vladimir

0 Kudos

Re: Batch add objects , what is the correct CSV format

Jump to solution

thank you so much. txt works.

Also, what is the format of the file if I need to batch add networks.

0 Kudos
Admin
Admin

Re: Batch add objects , what is the correct CSV format

Jump to solution

Depends on what parameters you want to set.

In general, the first line is the name of the parameters you want to set, which must match exactly the parameter name in the API documentation.

0 Kudos