Exago .NET API Documentation
HasInheritedCategory Property
WebReports.Api.Reports Namespace > Entity Class : HasInheritedCategory Property
Set to true to copy the folder location of the object that this clone was created from. Set to false to provide a different folder location in the Category Property.
public System.bool HasInheritedCategory {get; set;}
Create a clone of an Entity with unique folder (category) and description text
Entity clonedEntity = myNewEntity.Clone();

clonedEntity.HasInheritedCategory = false;
clonedEntity.HasInheritedDescription = false;
clonedEntity.ClonedFrom = myNewEntity.Id;
clonedEntity.Category = "Not Donations";
clonedEntity.Id = "campaigns_1";            //This is the Admin Console ID
clonedEntity.Name = "Campaigns Clone";      //This is the Admin Console Alias
clonedEntity.ObjectDescription = "This is a clone of " + myNewEntity.Name;
 //add this cloned data object to the collection in the API objbect
See Also


Entity Class
Entity Members