tprouvot / Salesforce-Inspector-reloaded

Chrome extension to add a metadata layout on top of the standard Salesforce UI to improve the productivity and joy of Salesforce configuration, development, and integration.
https://chrome.google.com/webstore/detail/salesforce-inspector-relo/hpijlohoihegkfehhibggnkbjhoemldh
MIT License
191 stars 60 forks source link

[view all data] when updating a complexvalue via tooling api field value is stringified #112

Open mnunezdm opened 1 year ago

mnunezdm commented 1 year ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Using data export, activate use tootling api, query a FlowDefinition
  2. Press "Show all data" over any id image
  3. Press edit, here is the first error, value is not being stringified image
  4. If writing the value directly, the value is not sent correctly image image

Expected behavior Separating values in different fields / parsing the data and sending it with an object

image

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context

If sent with postman as an object, value is correctly updated

image
baslu93 commented 1 year ago

Hi @mnunezdm

I've queried the Lead object, clicked the first recordId and checked the Address field, which is also a complex type. The current behaviour is the following:

image

It cannot be edited. Should we fix [object Object] here and open a new feature to make editable the complex fields in general?