Salesforce Interview Questions with Answers Part 52

1. Record type restrictions.

If the user profile doesn't have access to a record type and if they have View all permission, then they will be able to view the record.
If the user profile doesn't have access to a record type and if OWD of the object is Public Read or Public Read/Write, they will be able to view the record.
If the user profile doesn't have access to a record type and if the record is shared through manual sharing or sharing rules, they will be able to view the record.

Record type is usually used for different page layout and picklist values.

2. Channel Manager Role

Channel managers are internal users who manage your partner accounts and partner users. Before setting up a partner community, identify an internal user to play the channel manager role.
Available in: Salesforce Classic and Lightning Experience
Available in: Enterprise, Performance, Unlimited, and Developer Editions

Ideally, channel managers should create all the partner accounts for the partner organizations they manage. All partner users associated with a partner account automatically fall below the channel manager in the partner role hierarchy. So all the data owned by those partner users rolls up and is visible to the channel manager.

3. Moderate Chatter Free Users

A moderator is a Chatter user with some additional privileges.

These privileges include:
Activate or deactivate Chatter Free users
Assign a Chatter Free user as moderator or take the privilege away
Delete posts and comments that they can see

http://www.infallibletechie.com/2018/04/moderate-chatter-free-users-in.html

4. How to tackle technical debt in Salesforce?

Technical debt (also known as design debt or code debt) is a concept in software development that reflects the implied cost of additional rework caused by choosing an easy solution now instead of using a better approach that would take longer.

http://www.infallibletechie.com/2018/04/how-to-tackle-technical-debt-in.html

5. Continuation Class Example in Salesforce

Use the Continuation class to make callouts asynchronously to a SOAP or REST Web service. It can be used only from a Visualforce page and helps us to avoid Concurrent Apex limit for long running callouts.

http://www.infallibletechie.com/2018/04/continuation-class-example-in-salesforce.html

6. Difference between lightning:input and ui:input in Lightning in Salesforce

lightning:input
Base Lightning components are the building blocks that make up the modern Lightning Experience, Salesforce1, and Lightning Communities user interfaces.
Beyond being equipped with the Lightning Design System styling, they handle accessibility, real-time interaction, and enhanced error messages.

https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/lightning_overview.htm

ui:input
Lightning Design System styling is not applied by default.

7. Difference between component.find() component.get() in Salesforce Lightning

Component.get()

component.get(String key) and component.set(String key, Object value) retrieves and assigns values associated with the specified key on the component. Keys are passed in as an expression, which represents attribute values.

component.find()

find() returns different types depending on the result.

1. If the local ID is unique, find() returns the component.
2. If there are multiple components with the same local ID, find() returns an array of the components.
3. If there is no matching local ID, find() returns undefined.

component.find() works in a more broader way whereas component.get() is associated with attributes. find() method can be used to work on tags having same id's simultaneously.

8. What happens if time-dependent actions sets the trigger date to past date in Salesforce?

If Salesforce recalculates the time triggers to a date in the past, Salesforce triggers the associated actions shortly after you save the record.

9. Can users create apex triggers on Knowledgebase article object?

Unlike other standard or custom objects that allows user to create triggers, this featured is not enabled for Knowledgebase object.

10. Rich Publisher Apps platform

The Rich Publisher Apps platform gives you all the necessary tools for creating and integrating interactive apps into your feed’s publisher.

Sample Code - http://www.infallibletechie.com/2018/08/rich-publisher-apps-platform.html