When Salesforce is life!

Month: July 2016

[Salesforce] The Sobject Crusade: Approval

Source: Approval

This object was used to store the Approval process information of the Contract object.

With Spring 15 this is read-only and cannot be created in new orgs (more details here).

This object has been replaced by the general Approval Process represented by the ProcessInstance Sobject.

[Salesforce] The Sobject Crusade: Article Type__Feed

Source: Article Type__Feed

The object is part of the Salesforce Knowledge feature.

This feature allow CRM users to create articles or search for articles to solve customer’s cases.

To enable Knwoledge base have a look at the Article Type__DataCategorySelection object description.

To enable feed on an article, go to Setup > Customize > Chatter > Feed Tracking and select your articole type (e.g. European Offer) and click the Enable Feed Tracking checkbox:

For more details about objects’ Feed, go to AccountFeed object.

Here is what you see when enabling feed tracking on the custom article type:

Here is a simple query:

SELECT id, Type, Title, Body, Visibility, likecount, NetworkScope, (Select Id, FieldName, NewValue From FeedTrackedChanges) from European_Offer__Feed 

[Salesforce] The Sobject Crusade: Article Type__DataCategorySelection

Source: Article Type__DataCategorySelection

The object is part of the Salesforce Knowledge feature.

This feature allow CRM users to create articles pr search for articles to solve customer’s cases.

To enable Knwoledge base for a given user follow the following setup steps:

  1. Enable a user to Knowledge by simply adding the Knowledge User to the specific User record
  2. Setup > Knowledge Settings > Enable: once the Knowledge has been enabled it cannot be undone!
  3. Setup > Knowledge Article Types > Create new object:

    Each article type will be considered like a custom object (it will have the “__kav” trailing extension, in this case European_Offer__kav), and like custom objects you can add new custom fields:

    This article type contains all the data related to the type of article you are writing.

  4. In Setup > Data Category Setup we can create articles’ category hierarchies in order to organize articles:

    Activate the category:

    Now you can create child categories inside your main category group:

  5. Now let’s activate the categories in Setup > Default Data Category Visibility:

    Select All Categories if you want that a given category is visible to all profiles/roles, None if you want no default visibility, os Custom if you want certain child categories to be visible:

    Profiles / Role visibility can be customized in the Role / Profile setup page or through Permission Sets:

  6. Be sure that your categories are available on the knkowledge app, by going to Setup > Data Category Assignments:

Congratulations: you have just enabled the Knowledge Base on your Salesforce instance!

Go to All Tabs and look for the Knowledge link:

Click on the Create Article button and choose the article type you want to create:

Now you can add all the info about the article, such as the Title, URL Name, Summary and also the Category of application (in this case I set the EMEA/ITALY category ):

The article is shareable with different channels (Internal App for back office access, Partner for partner portal access, Customer for customers portals and Publick Knowledge Base for anonymous access – more details here).

Last step is to publish the article by clicking the Publish… button.

When you know create a new Case, you have the ability to check for related articles:

By default the system searches for the Case’s subject.

To link this article to the case simply select the Attach to case option in the menù next to the Article found in the article’s search.

No the article is related to the Case:

The Article / Case association has been shown only to have a more clear idea on how Knowledge is used in the support processes.

And finally this is our European_Offer__DataCategorySelection object created after the Article creation:

Select Id, Parent.Title, Parent.VersionNumber,Parent.UrlName, Parent.PublishStatus, DataCategoryGroupName, DataCategoryName from European_Offer__DataCategorySelection

Powered by WordPress & Theme by Anders Norén