-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fail on: Object Description and Fields Description #16
Comments
@bazarnov Use the Here is the code to get you started. Run the first two lines, then inspect the list as to which of the fields is causing the error with
|
Hi, this is what was able to find out that after this line: I got the list of lists with different number of unit in each (might differ from object to object), therefore the map_df doesn't apply it's magic in this case, however I was able to extract and built my own function in order to parse the information I need to use in my case: This is the function for getting object list (result as data.frame):
This is the function for getting object's fields (result as data.frame):
For now, my needs are covered, once you decide to deal with the area with map_df in your function, please add this to the ChangeLog) I'll be very glad to use your functions. |
@bazarnov The function Example pulling the picklist options from the "Status" field on the Case object
|
Hi, I'm using the sf_describe_object() and sf_describe_object_fields() quite frequently in order to retrieve the list of fileds and how they are related and connected to every other object in our SalesForce. Recently I started to had this issue while trying to retrieve the object's fields using sf_describe_object_fields()
Assuming that there are some fields that have unequal number of rows, therefore it could not convert the list to data.frame on the step of retrieving the Object description itself.
Any Idea of how to workaround this error?
The text was updated successfully, but these errors were encountered: