Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

sf_rename_metadata

Rename Metadata Elements in Salesforce


Description

Experimental lifecycle

This function takes an old and new name for a metadata element in Salesforce and applies the new name

Usage

sf_rename_metadata(metadata_type, old_fullname, new_fullname, verbose = FALSE)

Arguments

metadata_type

character; string on what type of metadata to create.

old_fullname

character; string corresponding to the fullName of the element you would like to rename

new_fullname

character; string corresponding to the new fullName you would like to apply the targeted element

verbose

logical; an indicator of whether to print additional detail for each API call, which is useful for debugging. More specifically, when set to TRUE the URL, header, and body will be printed for each request, along with additional diagnostic information where available.

Value

A data.frame containing the creation result for each submitted metadata component

References

Examples

## Not run: 
renamed_custom_object <- sf_rename_metadata(metadata_type = 'CustomObject', 
                                            old_fullname = 'Custom_Account32__c', 
                                            new_fullname = 'Custom_Account99__c')

## End(Not run)

salesforcer

An Implementation of 'Salesforce' APIs Using Tidy Principles

v0.2.2
MIT + file LICENSE
Authors
Steven M. Mortimer [aut, cre], Takekatsu Hiramura [ctb], Jennifer Bryan [ctb, cph], Joanna Zhao [ctb, cph]
Initial release
2020-09-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.