Search This Blog

Monday, October 12, 2020

what is connected app in salesforce? - Salesforce Globe For You

 what is connected app in salesforce  - Salesforce Globe For You 

Connected App:A connected app is a framework that helps external application to integrate with salesforce using API's and standard protocols like SAML,OAuth and OpenID connect.

These protocols are used by connected App to authenticate,authorize and provide single sign-on (SSO) for external apps.

The connected app captures metadata about the external app such as which protocol the external app uses and where it runs etc and then provides the same information to salesforce.Salesforce then grants access to external application to access it's data by attaching some policies that define access restrictions.

Uses of connected App:

1)Access Data with API integration: if web based or mobile applications wants to pull data from salesforce,you can use connected app as client to request the data.

2)Integrate service providers with salesforce.

3)provide authorization for extrnal API gateways

4)Manage access to third party apps.

Go through the following trialhead for more details

https://trailhead.salesforce.com/content/learn/modules/connected-app-basics

Thursday, October 8, 2020

difference between Managed and Unmanaged package in salesforce - Salesforce Globe For You

 Packages: Whenever you need to use the app exchange products or whenever you need to deploy components from one org to another,you can use packages.

Package is a collection of related components like apps,tabs,apex classes,visualforce pages etc.

Whenever you need to use app exchange product,the product related components are packaged in a package which you can directly install and use.

you can create a package in one org and can use the package url to install it in other org.

Packages come in 2 flavours.Managed and Unmanaged.

Differences:

you cannot customize(change) the  code or metadata if required in Managed package but you can do that in unManaged package.

If you use Managed package,upgrades happen automatically when new version released but if you use unManaged package,upgrades won't happen automatically.

In Managed package,the components of the package don’t count against the org limits(tab limits,object limits,app limits etc). where as in unManaged,limits count.

What is AppExchange in Salesforce - Salesforce Globe For You

 What is AppExchange in Salesforce  - Salesforce Globe For You 

AppExhange: AppExchange ia a secure,trusted marketplace(including free and paid) for all salesforce related apps,lightnning components and many more.

Its a collection of prebuilt apps which you easily install and use which provides solutions for most of your usecases or requirements.

For example if you need to integrate with some external system or if you need to build some complex functionalities and you don't have enough time to build it from scratch,then you can go to AppExchange(https://appexchange.salesforce.com/) and search to find if there are any existing apps which can be used for your usecase.If you find necessary app,then you can directly install and use it.



Note: AppExchange products may be of free or paid.

AppExchange also  listed the consultants who have experience in building the apps that you need.You can take help of that consultant to build custom app to fulfil your requirement.

To learn more about the AppExchange,go through the following AppExchange trailhead salesforce provided.

https://trailhead.salesforce.com/content/learn/modules/appexchange_basics?trail_id=force_com_admin_intermediate


Tuesday, October 6, 2020

How to reduce or change size of lightning:icon in aura component? - Salesforce Globe For You

 How to reduce or change size of lightning:icon in aura component?  - Salesforce Globe For You 

solution:use the size attribute of lightning:icon to change it's size.

size="xx-small"   very very small icon

size="medium"     medium size icon.

Example:LightningIconSize.cmp

<aura:component >

    <div class="slds-align_center" style="padding-left:100px">

        very very small Icon: <lightning:icon iconName="action:delete" size="xx-small" alternativeText="Delete" title="Delete" /><br/><br/>

        very small Icon: <lightning:icon iconName="action:delete" size="x-small" alternativeText="Delete" title="Delete"/><br/><br/>

        small Icon: <lightning:icon iconName="action:delete" size="small" alternativeText="Delete" title="Delete" /><br/><br/>

        medium Icon: <lightning:icon iconName="action:delete" size="medium" alternativeText="Delete" title="Delete" /><br/><br/>

        large Icon: <lightning:icon iconName="action:delete" size="large" alternativeText="Delete" title="Delete" />

    </div>

</aura:component>

TestApp.app

<aura:application extends="force:slds">

<c:LightningIconSize/>

</aura:application>

Output:



how to display toggle icon or toggle button in aura component - Salesforce Globe For You

 how to display toggle icon or toggle button in aura component  - Salesforce Globe For You 

Example:ToggleIcon.cmp

<aura:component >

    <aura:attribute name="checkboxValue" type="boolean" default="false"/> 

<lightning:input type="toggle" label="Toggle Button:" aura:id="toggleButton" checked="false" name="toggleButton"  onchange="{!c.changeCheckboxValue}"/><br/>

The toggle value is:<b>{!v.checkboxValue}</b>

</aura:component>

ToggleIconController.js

({

changeCheckboxValue : function(component, event, helper) {

        // get the toggleButton element and check its value

var togglebuttonValue = component.find("toggleButton").get("v.checked");

        component.set("v.checkboxValue",togglebuttonValue);

}

})

TestApp.app

<aura:application extends="force:slds">

<c:ToggleIcon/>

</aura:application>

Output:



Shortcut to take screenshot in Macbook Pro

 Shortcut to take screenshot in Macbook Pro

Solution:Use command+Shift+4 and then select the area that you want to take screenshot.

use command+shift+3 to take screenshot of entire page.