-
Notifications
You must be signed in to change notification settings - Fork 93
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
SOQL Datatable - query/filter for records owned by current user #84
Comments
I believe I have access to Additionally, I think this would align to |
Adding some cool context we figured out over the discord. For this, I'd like to strongly align to what can be leveraged via LDS (read: don't use a custom apex class to back anything related to the The rationale here is I want to let this framework grow in alignment with LDS (which has some magic built in) and the net benefits of bringing the |
@tsalb curious on your last comment (since the PR for this uses no Apex class); while LDS isn’t explicitly employed, I suspect the built-in I used leverages it under the hood |
@jamessimone oops yes, I haven't checked your PR and that comment was not directed at you (otherwise, it would be on the PR). That was more additional context when |
cheers to posterity! |
Fix for #84 by adding CurrentUserId bind variable
Closing this, but package has not been made yet. Keep an eye on the next version when I get to that piece! |
Sounds good - thanks for reviewing! |
I'd like to configure a datatable (on flexipage) so that it shows each user a list of their records - either via record owner, or via a custom User lookup field. I don't see a way to do that currently.
(Current use case is showing sales reps a dynamic list of calls to make.)
Temporary workaround: create a boolean formula field on the object that compares the running user to the lookup field and filter on that.
Thanks!
The text was updated successfully, but these errors were encountered: