thanks Bruno, I am getting closer. I have the migxDB TV items getting saved and appearing in the grid. However, I can't edit/delete any of them, just add.
Also, in the Leads Grid, the notes do not display anymore (i was using getimagelist before with success).
I checked for my ID field, which I believe I have setup properly. I have used the schema you posted in last note.
{
"formtabs":[
{
"MIGX_id":3,
"caption":"Notes",
"print_before_tabs":"0",
"fields":[
{
"MIGX_id":9,
"field":"note",
"caption":"Enter the note below",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"richtext",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":1
},
{
"MIGX_id":10,
"field":"author",
"caption":"Your Name",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"hidden",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"migx",
"sources":"",
"inputOptionValues":"",
"default":"@CHUNK getuser",
"useDefaultIfEmpty":"0",
"pos":2
},
{
"MIGX_id":20,
"field":"id",
"caption":"",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"none",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"",
"useDefaultIfEmpty":"0",
"pos":3
},
{
"MIGX_id":21,
"field":"date",
"caption":"",
"description":"",
"description_is_code":"0",
"inputTV":"",
"inputTVtype":"date",
"validation":"",
"configs":"",
"restrictive_condition":"",
"display":"",
"sourceFrom":"config",
"sources":"",
"inputOptionValues":"",
"default":"now",
"useDefaultIfEmpty":"0",
"pos":4
}
],
"pos":1
}
],
"contextmenus":"update||duplicate||recall_remove_delete||remove",
"actionbuttons":"addItem",
"columnbuttons":"update||duplicate||recall_remove_delete||remove",
"filters":"",
"extended":{
"migx_add":"Add Note",
"disable_add_item":"",
"add_items_directly":"",
"formcaption":"",
"update_win_title":"",
"win_id":"notes",
"maxRecords":"",
"addNewItemAt":"bottom",
"multiple_formtabs":"",
"multiple_formtabs_label":"",
"multiple_formtabs_field":"",
"multiple_formtabs_optionstext":"",
"multiple_formtabs_optionsvalue":"",
"actionbuttonsperrow":4,
"winbuttonslist":"cancel||done",
"extrahandlers":"",
"filtersperrow":4,
"packageName":"leads",
"classname":"Notes",
"task":"",
"getlistsort":"",
"getlistsortdir":"",
"sortconfig":"",
"gridpagesize":"",
"use_custom_prefix":1,
"prefix":"crm_",
"grid":"",
"gridload_mode":2,
"check_resid":1,
"check_resid_TV":"",
"join_alias":"",
"has_jointable":"yes",
"getlistwhere":"",
"joins":"",
"hooksnippets":"",
"cmpmaincaption":"",
"cmptabcaption":"",
"cmptabdescription":"",
"cmptabcontroller":"",
"winbuttons":"",
"onsubmitsuccess":"",
"submitparams":""
},
"columns":[
{
"MIGX_id":4,
"header":"ID",
"dataIndex":"id",
"width":"",
"sortable":"false",
"show_in_grid":"0",
"customrenderer":"",
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":1,
"header":"Note",
"dataIndex":"note",
"width":500,
"sortable":"false",
"show_in_grid":1,
"customrenderer":"",
"renderer":"",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":"this.textEditor"
},
{
"MIGX_id":2,
"header":"Author",
"dataIndex":"authorname",
"width":50,
"sortable":"false",
"show_in_grid":1,
"customrenderer":"",
"renderer":"this.renderChunk",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"[[+author:userinfo=`username`]]",
"renderoptions":"",
"editor":""
},
{
"MIGX_id":3,
"header":"Date",
"dataIndex":"date",
"width":75,
"sortable":"false",
"show_in_grid":1,
"customrenderer":"",
"renderer":"this.renderDate",
"clickaction":"",
"selectorconfig":"",
"renderchunktpl":"",
"renderoptions":"",
"editor":""
}
]
}