Click here to Skip to main content
15,886,873 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I need to bind values from added content of my custom module to a dropdown list control in Advanced mode of Sitefinity Forms.

What I have tried:

I have tried to create custom field type by the following steps:


  • Registering database mapping for the new type in order to store the data of the field

    1. Go to Administration > Settings > Advanced > Metadata > DatabaseMappings > Create New.
    2. Fill Name: AcademiesList, CLR type: System.String[], Database length: 255, SQL specific type: NVARCHAR, Datatype: VARCHAR, Nullable: true.
    3. Save the changes.

  • Registering my new custom field and specifying the control that will be used to display its values

    1. Go to Administration > Settings > Advanced > Custom Fields > FieldTypes > Create new.
    2. Fill Name: AcademiesList, Title: AcademiesList
    3. Save changes
    4. Go to Controls subsection > Create new
    5. FieldTypdOrPath as "Telerik.Sitefinity.Web.UI.Fields.ChoiceField", Title: ChoiceField, DesignerType: Telerik.Sitefinity.Web.UI.Fields.Designers.MultipleChoiceFieldDesigner, ResourceClassId: ModuleEditorResources
    6. Save changes

— Ref: https://community.progress.com/community_groups/sitefinity/bugsandissues/f/297/t/45725


Kindly suggest your ideas/logic to have my desired result(not by programming).
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900