Is there anywhere to query data and depend on objects that lighting component display? Let me explain my requirement.
- there are 2 objects that was using same my lighting component that i want to create
- one object, i want to query by
where objecta__c= RecordIDand another, i want to query by
Is it possible to using only one component to solve this or i have to created one component for one object?
One more question, can I get object type via getting param, something like getting record type?