Progress will discontinue Telerik Platform on May 10th, 2018. Learn more

Getting the Field Count

Getting the Field Count

Using the Administration API you can request the count of all fields contained in a content type's structure.

To get only the count of the content type fields use the following code snippet:

public async Task<int> GetFieldCount(Guid applicationId, Guid typeId, string masterKey)
    var metadata = new EverliveAccount(new EverliveAccountSettings(AuthorizationStrategy.MasterKey, masterKey));
    return await metadata.Application(applicationId).Type(typeId).Fields().GetCount().ExecuteAsync();

See Also

Contact us: +1-888-365-2779
Copyright © 2016-2018, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.