Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tasks to extract and upload files (Salesforce Files) #3801

Merged
merged 17 commits into from
Jul 1, 2024

Conversation

mjawadtp
Copy link
Contributor

@mjawadtp mjawadtp commented Jun 14, 2024

Two CumulusCI tasks namely retrieve_files and upload_files have been added.

The task retrieve_files downloads all the files uploaded to Files section of a Salesforce org. Task option path lets you download files to a download location of your choice while file_list allows you to specify the names of the files you want to download. By default, all the files present in your org are downloaded to Files/.

Similary, upload_files uploads files present in the directory 'Files'. directory to your Salesforce org. Task option 'path' lets you upload files present in a different directory than the task default directory 'Files'. You can also list the files to upload by name using the task option 'file_list'.

Unit tests for the aforementioned tasks have been added.

Work items: W-15946960 and W-15946966

@mjawadtp mjawadtp requested a review from a team as a code owner June 14, 2024 08:38
@mjawadtp mjawadtp enabled auto-merge June 14, 2024 12:21
@jstvz jstvz added internal Pull requests from IPDE team in review labels Jun 17, 2024
Copy link
Contributor

@lakshmi2506 lakshmi2506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Hi @jkasturi-sf
Please review

Copy link
Contributor

@lakshmi2506 lakshmi2506 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

New tasks are added to retrieve and upload the files.

@mjawadtp mjawadtp merged commit b7eda89 into main Jul 1, 2024
21 of 23 checks passed
@mjawadtp mjawadtp deleted the feature/upload_and_retrieve_files branch July 1, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in review internal Pull requests from IPDE team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants