elasticio / salesforce-component

elastic.io component that connects to Salesforce API (node.js)
Apache License 2.0
3 stars 7 forks source link

Improvements to Lookup / Delete Functionality #112

Open christianjosephvarriale opened 4 years ago

christianjosephvarriale commented 4 years ago

Description

Current lookup / delete functionality requires the user to go into their sf instance and extract information, however unless the component is being fed data it may be unclear what the proper format of the required input is. For example date or date-time.

Proposed solution & current method

Currently, the user has a text field to enter the information to, which may be difficult for fields like date-time which is displayed in sales-force differently then it's system representation ( which requires some digging to figure out ). Having a drop-down list similar to what's already implemented containing labels ( not values ), of what is available based on the previously provided information will improve the experience for non-technical users.

Assessment of Risks & Benefits

Low priority item but will make the platform more user friendly for non-developers.

jhorbulyk commented 4 years ago

In principle, JSON schema allows for a pattern field where there are patterns for common string formats such as timestamps. There is an item on the platform side to add this functionality here: https://github.com/elasticio/frontend/issues/2564