Skip to content

Field for storing reference to multiple pages #2111

@ErikMatuska

Description

@ErikMatuska

Hi is possible natively, or has someone created custom field that would store more items of something, I am specifically intersted in references multiple pages e.g. page has reference to featured blogs.

Code that I am using for one reference:

public class GeneralHomePageRegion
{

    [Field(Title = "Ref")]
    public PageField ReferencedPage { get; set; }

    [Field(Title = "Referenced page")]
    public Piranha.Extend.Fields.DataSelectField<PageItem> ReferencedPages { get; set; }
}

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions