IncrementKnowledgeArticleViewCountRequest IncrementKnowledgeArticleViewCountRequest IncrementKnowledgeArticleViewCountRequest IncrementKnowledgeArticleViewCountRequest Class

Definition

Contains the data that is required to increment the per day view count of a knowledge article record.

For the Web API use the IncrementKnowledgeArticleViewCount Function.

public ref class IncrementKnowledgeArticleViewCountRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
[System.Runtime.Serialization.DataContract(Namespace="http://schemas.microsoft.com/crm/2011/Contracts")]
public sealed class IncrementKnowledgeArticleViewCountRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type IncrementKnowledgeArticleViewCountRequest = class
    inherit OrganizationRequest
Public NotInheritable Class IncrementKnowledgeArticleViewCountRequest
Inherits OrganizationRequest
Inheritance
IncrementKnowledgeArticleViewCountRequestIncrementKnowledgeArticleViewCountRequestIncrementKnowledgeArticleViewCountRequestIncrementKnowledgeArticleViewCountRequest
Attributes

Remarks

For this message to work, the caller must be connected to the server.

Usage

Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of the IncrementKnowledgeArticleViewCountResponse class.

Privileges and Access Rights

To perform this action, the caller must have privileges on the KnowledgeArticle entity. For a complete list of the required privileges, see IncrementKnowledgeArticleViewCount message privileges.

Notes for Callers

If a view count record doesn’t exist for a knowledge article for a specified day, this message will create a record and then set the specified view count value. If a record already exists for a knowledge article for the specified day, this message will just increment the view count in the existing record with the specified view count.

Constructors

IncrementKnowledgeArticleViewCountRequest() IncrementKnowledgeArticleViewCountRequest() IncrementKnowledgeArticleViewCountRequest() IncrementKnowledgeArticleViewCountRequest()

Initializes a new instance of the IncrementKnowledgeArticleViewCountRequest class.

Properties

Count Count Count Count

Gets or sets the view count of a knowledge article record. Required.

ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Location Location Location Location

Gets or sets the location where the knowledge article record was used.

Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
Source Source Source Source

Gets or sets the knowledge article record for incrementing the view count. Required.

ViewDate ViewDate ViewDate ViewDate

Gets or sets the date for which the view count has to be incremented.

Applies to