Features
- Upgraded to version 46.0 (Summer '19) from version 45.0 (Spring '19)
- Add RForcecom backward compatibile version of
rforcecom.getObjectDescription() - Add
sf_describe_object_fields()which is a tidyier version ofrforcecom.getObjectDescription() - Allow users to control whether query results are kept as all character or the
types are guessed (#12) - Add
sf_get_all_jobs_bulk()so that users can see retrieve details for all
bulk jobs (#13) - Add new utility functions
sf_set_password()andsf_reset_password()(#11) - Add two new functions to check for duplicates (
sf_find_duplicates(),sf_find_duplicates_by_id()) (#4) - Add new function to download attachments to disk (
sf_download_attachment()) (#20) - The
object_nameargument, required for bulk queries, will be inferred if left blank,
making it no longer a required argument - Almost all functions in the package now have a
controlargument and dots (...) which
allows for more than a dozen different control parameters listed insf_control()to be
fed into existing function calls to tweak the default behavior. For example, if you would
like to override duplicate rules then you can adjust theDuplicateRuleHeader. If you
would like to have certain assignment rule run on newly created records, then pass in the
AssignmentRuleHeader(#4, #5) - Add new function
sf_undelete()which will take records out of the Recycle Bin - Add new function
sf_empty_recycle_bin()which will remove records permanently
from the Recycle Bin - Add new function
sf_merge()which combines up to 3 records of the same type
into 1 record (#22)
Bug Fixes
- Fix bug where Username/Password authenticated sessions where not working with
api_type = "Bulk 1.0" - Fix bug where Bulk 1.0 queries that timeout hit an error while trying to abort
since that only supported aborting Bulk 2.0 jobs (#13) - Fix bug that had only production environment logins possible because of hard
coding (@weckstm, #18) - Make
sf_describe_object_fields()more robust against nested list elements and
also return picklists as tibbles (#16) - Fix bug where four of the bulk operation options (
content_type,concurrency_mode,
line_ending, andcolumn_delimiter) where not being passed down from
the top level generic functions likesf_create(),sf_update(), etc. However,
line_endinghas now been moved into thesf_controlfunction so it is no longer
explicitly listed for bulk operations as an argument. (@mitch-niche, #23) - Ensure that for SOAP, REST, and Bulk 2.0 APIs the verbose argument prints out
the XML or JSON along with the URL of the call so it can be replicated via cURL or
some other programming language (#8)