People who code: we want your input. Take the Survey

New answers tagged

0

I found that the lookup component was case sensitive on the object and field API name:


0

You can't really do that. There's a very robust sharing model in Salesforce, but there's no such setting as "show users only records in a specific currency." You could set all objects to private, and then create some Criteria-Based Sharing rules, which would be the closest approximation, but it's probably better if you just use the Role Hierarchy ...


0

Here you can do following things: There are two things to consider (i) User who are not in Trainee Plan and (ii) User who are already in Trainee plan. You need to separate those first. For this I have created a Is_Trainee__c checkbox on User to filter out already selected user. below is the code example: Apex : public with sharing class Trainees { ...


0

in the training plan object, you need to create a lookup to user object. in lwc, you will pass the selected user list and training plan id (if already exists) to an apex method which will create/update (upsert) training plan for each selected user.


Top 50 recent answers are included