What Chatter User can do in Salesforce?

What Chatter User can do in Salesforce?

I will explain you via this blog, What is chatter, How it is used in Salesforce and why it is used in Salesforce?

 So, First of all, you must know what is Chatter?

Chatter is collaboration platform from Salesforce. It can be used as intranet where each employee has the profile page with photo Here’s what you can do with chatter:

  • You can create public and private groups
  • You can invite your coworkers to join groups
  • You can share files, links, questions with your peers
  • Add topics of discussion in the groups.
  • Also, In chatter, You can like, comments and share the post.

Before using Chatter, you must have Chatter Account in Salesforce. So I’m gonna explain you how can you create free chatter account in Salesforce?

Follow some steps to setup chatter account in Salesforce:

  1. Login to Salesforce >Url: login.salesforce.com
  2. Go to Setup>Manage User>Users>click on  New User
      1. Create a new user, then
      2. Select Chatter Free in User License and Chatter Free User in Profile.
  3. After Username is generated, users are notified immediately the user’s login name and a temporary password sent to email.

Now question is that what chatter user can do?

So the user can do many things in chatter as:

Brief On Feed Section:

In feed section, you can check and manage some following thing as:

  • You can see your updates which you did.
  • You can check who has posted some posts to your profile and who has mentioned you in any post.
  • You can check bookmarked, muted posts in their section.

Bookmark post:

How to follow people in chatter:

  • Go People section, Select All People
  • You can see all the users are showing in this and follow any user from following next to user’s name as shown in given screenshot:

Brief On Group Section:

In this section, the user can create and manage groups. Following things as:

  • You can check any recent group activity in Recently Viewed section.
  • you can check your own groups in My Groups section

How To Create Groups & Add Members In Chatter?

  • Go to Group section, Select the My Groups
  • Click on New Group button
  • Enter the Group Name, add the description.
  • Give the Group access to a Public, Private.
  • In this, If you select the private then you can check the Allow Customers option.

Public Group:

Private Group:

  • In Active Group section, User can  Join the active group by clicking on join next to last activity and you can create a New group in this as:

How To Upload Files In Chatter:

  • Go to All Files under the Files section and click on Upload file link and user can check that  which file is own in owned by me section
  • In All Files section, User can check and manage all the files here and can change the sharing setting which is depicted in given screenshot:

How Can We Post In Chatter?

  • Go to Post in chatter home page and click on Post and click on the post as:
  • After posting any post in chatter, posts will be shown in “What I Follow” under the “Feed” section as you can see  in below screenshot:

 

How Can Chatter User Share A File?

You have 2 options for sharing the file. The first option is the Select file from Chatter and the second option is Upload file from your computer.

  • Select file from Chatter:

Go to files, select file from the chatter as given below:

  • Upload file from your computer:

Go to files, select upload file from your computer as given below:

Chatter user can do more things on chatter like they can share any link, add poll and ask some questions.

Adding  Link in Chatter:

  • Go to More drop menu and select the link.
  • Give the link in the first section and Link name in the second section.
  • Give some information in the body which is next to Link’s detail and you can also be formating your body text.
  • Hit the Share button.

See the below-attached screenshot:

Adding Poll In Chatter:

  • Go to More drop menu and select the Poll.
  • Add some text and fill the choice as you want.
  • Hit the Share button.

See the below-attached screenshot:

Adding Question In Chatter:

  • Go to More drop menu and select the Question.
  • Enter your question which you want to add in chatter
  • Hit the Ask button.

See the below-attached screenshot:

This is all about chatter. Enjoy!!

How do I encrypt and decrypt the data stored in salesforce marketing cloud?

How do I encrypt and decrypt the data stored in salesforce marketing cloud?

First of all we should understand why we need of encryption in salesforce marketing cloud.Take the time to identify the most likely threats to your organization. This will help you distinguish data that needs encryption from data that doesn’t, so that you can encrypt only what you need to. Make sure your tenant secret and keys are backed up, and be careful who you allow to manage your secrets and keys.

  1. Outline a threat model for your organization. rehearse a proper threat modeling exercise to spot the threats that area unit possibly to have an effect on your organization. Use your findings to make an information classification theme, which may assist you decide what knowledge to encode.
  2. Encode solely wherever necessary.
  • Not all knowledge is sensitive. target data that needs coding to satisfy your regulative, security, compliance, and privacy needs. Unnecessarily encrypting knowledge impacts practicality and performance.
  • Judge your knowledge classification theme early and work with stakeholders in security, compliance, and business IT departments to outline needs. Balance business-critical practicality against security and risk measures and challenge your assumptions sporadically.
  1. Produce a technique early for backing up and archiving keys and knowledge. If your tenant secrets area unit destroyed, reimport them to access your knowledge. entirely accountable for ensuring your knowledge and tenant secrets are secured and keep in a very safe place. Salesforce cannot assist you with deleted, destroyed or misplaced tenant secrets.
  2. Perceive that coding applies to all or any users, despite their permissions.
  • You management World Health Organization reads encrypted field values in plaintext mistreatment the “View Encrypted Data” permission. However, the information keep in these fields is encrypted at rest, despite user permissions.
  • Useful limitations area unit obligatory on users World Health Organization act with encrypted knowledge. contemplate whether or not coding will be applied to a little of your business users and the way this application affects different users interacting with the information.
  1. Scan the protected Platform coding issues and perceive their implications in your organization.
  • Judge the impact of the issues on your business answer and implementation.
  • Check protect Platform coding in a very sandbox atmosphere before deploying to a production atmosphere.
  • Before sanctioning coding, fix any violations that you just uncover. for instance, referencing encrypted fields in a very SOQL wherever clause triggers a violation. Similarly, if you reference encrypted fields in a very SOQL ORDER BY clause, a violation happens. In each cases, fix the violation by removing references to the encrypted fields.
  1. Analyze and take a look at AppExchange apps before deploying them.
  • If you utilize Associate in Nursing app from the AppExchange, take a look at however it interacts with encrypted information in your organization and value whether or not its practicality is affected.
  • If Associate in Nursing app interacts with encrypted information that’s hold on outside of Salesforce, investigate however and wherever processing happens and the way data is protected..
  • If you think defend Platform secret writing may affect the practicality of an app, raise the supplier for facilitate with analysis. conjointly discuss any custom solutions that has got to be compatible with defend Platform secret writing.
  • Apps on the AppExchange that square measure designed solely mistreatment Force.com inherit defend Platform secret writing capabilities and limitations.
  1. Remember, platform secret writing isn’t a user authentication or authorization tool.
  • Use field-level security settings, page layout settings, and validation rules, not Platform secret writing, to regulate that users will see that information.
  • Ensure that a user unknowingly granted the “View Encrypted Data” permission would still see solely applicable information. By default, any user will edit encrypted fields, even users while not the “View Encrypted Data” permission.
  1. Grant the “Manage secret writing Keys” user permission to licensed users solely. Users with the “Manage secret writing Keys” permission will generate, export, import, and destroy organization-specific keys. Monitor the key management activities of those users frequently with the setup audit path.
  1. Grant the “View Encrypted Data” user permission to licensed users solely. Grant the “View Encrypted Data” permission to users United Nations agency should read encrypted fields in plaintext, as well as integration users United Nations agency should scan sensitive information in plaintext. Encrypted files square measure visible to any or all users United Nations agency have access to the files, despite the “View Encrypted Data” permission.
  1. Mass-encrypt your existing information. Existing field and file information isn’t mechanically encrypted after you activate defend Platform secret writing. To write in code existing field information, update the records related to the sector information. This action triggers secret writing for these records so your existing information is encrypted at rest. To write in code existing files, contact Salesforce.
  1. Do not use Currency and range fields for sensitive information. you’ll be able to typically keep non-public, sensitive, or regulated information safe while not encrypting associated Currency or range fields. Encrypting these fields may have broad practical consequences across the platform, like disruptions to roll-up outline reports, report timeframes, and calculations, so that they aren’t encryptable.
  1. Communicate to your users concerning the impact of secret writing. Before you modify defend Platform secret writing during a production atmosphere, inform users concerning however it affects your business answer. as an example, share the data delineated in defend Platform secret writing issues, wherever it’s relevant to your business processes.
  1. Use discretion once granting login access. If a user with the “View Encrypted Data” permission grants login access to a different user, the opposite user is in a position to look at encrypted fields in plaintext.
  1. Write in code your information mistreatment the foremost current key. After you generate a replacement tenant secret, any new information is encrypted mistreatment this key. However, existing sensitive information remains encrypted mistreatment previous keys. During this scenario, Salesforce powerfully recommends re-encrypting these fields mistreatment the newest key. Contact Salesforce for facilitate with this.

To encrypt some value we have to use some key value that can be hard coded or we can generate key also by using this:

Blob cryptoKey = Crypto.generateAesKey(256);

We have to use same key to decrypt that value.

Here I am going to share some code.Hope it will help you. I have created one visualforce page and one controller. In the page only one field(Name) is there and two button(Save & Update). When some value is entered in the name field and clicked on save button that value will be stored in the object encrypted format. Now record id in the url and click on update button encrypted value will be converted in to original format.

Visualforce  Page:

<span style="font-weight: 400;"><apex:page standardController="EnCrypt_Decrypt__c" extensions="EncryptExtensioncls"></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">    <apex:form ></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">        <apex:pageBlock ></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">            <apex:pageBlockSection ></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">                <apex:inputField value="{!encrypt.Name}"/></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">                <apex:commandButton value="Save" action="{!Save}"/></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">                <apex:commandButton value="Update" action="{!test}"/></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">            </apex:pageBlockSection></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">        </apex:pageBlock></span><span style="font-weight: 400;">
</span><span style="font-weight: 400;">    </apex:form> </span><span style="font-weight: 400;">
</span><span style="font-weight: 400;"></apex:page></span>

Controller:

public class EncryptExtensioncls{
public EnCrypt_Decrypt__c encrypt{get;set;}
 //Blob cryptoKey;
Blob cryptoKey = Blob.valueOf('380db410e8b11fa9');
public Id recordId{get;set;}
public EncryptExtensioncls(ApexPages.StandardController controller){
//cryptoKey = Crypto.generateAesKey(256);
recordId = Apexpages.CurrentPage().getParameters().get('id');
if(recordId !=null){
encrypt = [SELECT id,Name From EnCrypt_Decrypt__c WHERE id=:recordId];
  }else{
encrypt = new EnCrypt_Decrypt__c();
  }
}
public PageReference Save(){
Blob data = Blob.valueOf(encrypt.Name);
Blob encryptedData = Crypto.encryptWithManagedIV('AES128',cryptoKey,data);
String b64Data = EncodingUtil.base64Encode(encryptedData);
encrypt.name = b64Data;
 insert encrypt;
 return null; 
}
public PageReference test(){
 //Blob cryptoKey = Crypto.generateAesKey(256);
 //Blob data = Blob.valueOf(encrypt.Name);
Blob data = EncodingUtil.base64Decode(encrypt.Name);
Blob decryptedData = Crypto.decryptWithManagedIV('AES128',cryptoKey,data);
String dryptData = decryptedData.toString();
System.debug('Printing dryptData '+dryptData);
encrypt.name = dryptData;
 update encrypt;
 return null;
  }
}

 

Pin It on Pinterest