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

[FEATURE REQUEST] - Add filter on contentdocument / limit when using ExportFiles Core Add-On #779

Closed
jawills opened this issue Jun 2, 2024 · 4 comments
Assignees
Labels
completed The issue was successfully resolved/Feature is completed feature-request New feature request or a change in the existing functionality

Comments

@jawills
Copy link
Contributor

jawills commented Jun 2, 2024

When using the ExportFiles Core Add-On, I would like to be able to filter on the ContentDocument object, and not just the ContentVersion object. Ideally a limit and/or sort order can be applied to this filter.

Use case for this would be Conga Templates, where Conga only takes the most recently uploaded file. It is unclear to me how to transport the most recent file from the source org to the target org with the current status.

Ideally this is passed as an arg, like so:

"afterAddons": [
  {
    "module": "core:ExportFiles",
    "args": {
      "operation": "Insert",
      "contentDocumentWhere": "ORDER BY CreatedDate ASC LIMIT 1 "
    }
  }
]
@jawills jawills added the feature-request New feature request or a change in the existing functionality label Jun 2, 2024
@hknokh
Copy link
Collaborator

hknokh commented Jun 2, 2024

Hello, @jawills

Thank you for your feature request.
I will review it as soon as possible and provide updates as they become available.

Cheers

Copy link

github-actions bot commented Jun 6, 2024

This case has been marked as 'to-be-closed', since it has no activity for the 3 days.
It will be automatically closed in another 3 days of inactivity.

@github-actions github-actions bot added the to-be-closed The issue is about to be closed label Jun 6, 2024
Copy link

github-actions bot commented Jun 9, 2024

This case has been closed, since it has no activity for the last 6 days. Feel free to reopen it, if you need more help.

@hknokh
Copy link
Collaborator

hknokh commented Aug 13, 2024

Your MR has been merged
This is completed now
Thanks for the contribution!

@hknokh hknokh added the completed The issue was successfully resolved/Feature is completed label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
completed The issue was successfully resolved/Feature is completed feature-request New feature request or a change in the existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants