How to customize the knowledge base module for the ASAP Android SDK?

How to customize the knowledge base module for the ASAP Android SDK?

The Knowledge Base module enables end-users to access through help articles.

These methods help you display the Knowledge Base module and all associated content in the ASAP Help Widget.

Category Deep-linking 

The following method displays the list of categories/sub-categories in your Knowledge Base and the help articles under each category:       
  1. ZDPortalKB.showCategoryWithPermalink(activity, permaLink);
activity is the instance of the activity.
permalink is the URL of the knowledge base category.


For illustration, in the URL in the image above, the portion following "/kb/" is the category's permalink. You can pass this portion as the path of the category or sub-category.

Article Deep-linking

The following method displays the content of a help article right within your ASAP help widget:
  1. ZDPortalKB.showArticleWithPermalink(activity, permaLink);
activity is the instance of the activity.
permalink is the URL of the knowledge base category.


For example, in the URL in the image above, the portion following "/articles/" is the article's permalink.