Table of Contents

Class FieldDisplayGroup

Namespace
Dynamicweb.Ecommerce.Products.FieldDisplayGroups
Assembly
Dynamicweb.Ecommerce.dll
The class FieldDisplayGroup represents preset of visible fields.
public class FieldDisplayGroup : IPermissionLookup, IPermissionControlled
Inheritance
FieldDisplayGroup
Implements
Inherited Members

Constructors

FieldDisplayGroup()

public FieldDisplayGroup()

Fields

AvailableInFrontend

It used to show the field group in the loops in the frontend rendering.
public bool AvailableInFrontend

Field Value

bool

Id

Gets or sets the group id
public int Id

Field Value

int

SortIndex

Gets or sets the sorting index
public int SortIndex

Field Value

int

SystemName

Gets or sets the system name of the FieldDisplayGroup
public string SystemName

Field Value

string

Properties

FieldIds

Gets or sets ids of the preset fields
[Obsolete("Use FieldIdsList instead")]
public string FieldIds { get; set; }

Property Value

string

FieldIdsList

Gets or sets ids of the preset fields
public IEnumerable<string> FieldIdsList { get; set; }

Property Value

IEnumerable<string>

Name

Gets the name of the FieldDisplayGroup in the default language
[Obsolete("Use GetName instead.")]
public string Name { get; }

Property Value

string

ShopIds

Gets or sets ids of the preset shops
[Obsolete("Use ShopIdsList instead")]
public string ShopIds { get; set; }

Property Value

string

ShopIdsList

Gets or sets ids of the preset shops
public IEnumerable<string> ShopIdsList { get; set; }

Property Value

IEnumerable<string>

Translations

Gets the translations
public TranslationCollection<FieldDisplayGroupTranslation> Translations { get; }

Property Value

TranslationCollection<FieldDisplayGroupTranslation>

Methods

GetByKey(string)

Can be used to look up a concrete object based upon the key.
public IPermissionControlled GetByKey(string id)

Parameters

id string

Returns

IPermissionControlled
permissionControlled

GetLocalizedName(string)

Get translation for specified language
[Obsolete("Use GetName instead.")]
public string GetLocalizedName(string languageId)

Parameters

languageId string

Returns

string

GetName(string)

Gets the name of the field display group for the given language.
public string GetName(string languageId)

Parameters

languageId string

Returns

string

GetParent()

Gets the parent of this object, for the purposes of inherited permissions.
public IPermissionControlled GetParent()

Returns

IPermissionControlled
parent

Remarks

Return null, if no parent permissions exist

GetPermissionIdentifier()

Combination of values that form a unique identifier.
public UnifiedPermissionIdentifier GetPermissionIdentifier()

Returns

UnifiedPermissionIdentifier
Unique identifier.

SetLocalizedName(string, string)

Set translation for specified language
[Obsolete("Use SetName instead.")]
public void SetLocalizedName(string languageId, string name)

Parameters

languageId string
name string

SetName(string, string)

Sets the name of the field display group for the given language.
public void SetName(string languageId, string name)

Parameters

languageId string
name string
To top