Skip to content

SharinPix/node-multiupload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To upload images, you need a CSV file containing a valid image path and the Salesforce album ID to which each image will be uploaded to.

This file should follow the example of the included Images.csv , i.e. the lines should be like: Path/to/Image1.jpg,00158000003NLMyAAO Path/to/Image2.jpg,00158000003NLNyAAO

The program uploads images 2 by 2 until all files specified in the CSV are uploaded.

To run the program, open the multiupload folder (where index.js is located) on your terminal. Then run the command below. Make sure you replace sharinpix://SECRET_ID:[email protected]/api/v1 by a valid secret generated from your SharinPix organization (SharinPix Admin > Secrets).

SHARINPIX_URL=sharinpix://SECRET_ID:[email protected]/api/v1 node index.js

Edit: The command can now be executed directly like this (passing your complete secret to it): node index.js sharinpix://08d...4a76:[email protected]/api/v1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published