Skip to content
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

Collection Datatable - Can this work for non-inserted records / collections? #93

Open
hfongemie opened this issue May 20, 2021 · 1 comment
Assignees
Labels
salesforce dependency Custom solve overhead too high, wait on platform legos

Comments

@hfongemie
Copy link

In a Flow, if I populate a record collection variable with records that will be inserted, they cannot be surfaced using collectionDatatable. Can this feature work for non-inserted records?

@tsalb tsalb self-assigned this May 21, 2021
@tsalb tsalb added the enhancement New feature or request label May 21, 2021
@tsalb
Copy link
Owner

tsalb commented Jun 13, 2021

Investigated and this is a no-go for now.

There is a Salesforce Dependency for Custom Property Editors to mature a bit (and backwards add some api).

Right now the limitation is that I don't have access to the sObject name selected during the screen flow setup without depending on the CPE framework. There was a longer discussion in the SFXD Discord at one point, but the tl;dr is that CPE overhead is too high to undertake for an open source lib such as this.

One or more of the following needs to happen, before I can deliver this:

  • targetConfig and/or propertyType needs to pass down the selected SObject name by the user without resorting to CPE.
  • CPE variables such as inputVariables, genericTypeMappings or builderContext need to be passed into a screen component without having to depend on the CPE interface.

@tsalb tsalb added salesforce dependency Custom solve overhead too high, wait on platform legos and removed enhancement New feature or request labels Jun 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
salesforce dependency Custom solve overhead too high, wait on platform legos
Projects
None yet
Development

No branches or pull requests

2 participants