How to make journal list dependent on multiple journal fields?

bbarber9
Giga Expert

In the SNOW wiki it says that "journal_list fields do not allow or store input; they merely display the contents of other Journal fields upon which the journal_list field is dependent. If a journal_list field is dependent on more than one Journal field, it will chronologically interweave those fields' inputs." I want to combine two or three journal fields under a journal list, but I can't figure out how to make the journal list dependent on more than one journal field. I created the journal fields and the journal list field, but when I try to configure the journal list field to be dependent on the the journal fields, it only lets me select one. Any ideas?

8 REPLIES 8

rajeevlochan82
Mega Guru

Hi Breyton,



You are right , sorry for the wrong input. I do added this field Message List(Journal List) to display value from Message (Journal Input) and Message Reply (Journal). But even I forgot   the exact steps. can you just add Journal List and see if it provides value from all the Journal fields available in your form ?



find_real_file.png


rajeevlochan82
Mega Guru

I am sure It was preety easy when I first implemented it in Dublin....Not sure if this functionality got broken now to provide multi selection


rajeevlochan82
Mega Guru

The following is the XML grammar of older imp. Looks like its broken in newer version



<sys_updated_on>2015-05-26 16:25:41</sys_updated_on>


<table_reference>false</table_reference>


<text_index>false</text_index>


<unique>false</unique>


<use_dependent_field>false</use_dependent_field>


<use_dynamic_default>false</use_dynamic_default>


<use_reference_qualifier>simple</use_reference_qualifier>


<virtual>false</virtual>


<widget/>


<write_roles/>


<xml_view>false</xml_view>


</sys_dictionary>


<sys_dictionary action="INSERT_OR_UPDATE">


<active>true</active>


<array>false</array>


<attributes/>


<audit>false</audit>


<calculation/>


<choice/>


<choice_field/>


<choice_table/>


<column_label>Message List</column_label>


<comments/>


<create_roles/>


<default_value/>


<defaultsort/>


<delete_roles/>


<dependent>u_message,u_message_reply</dependent>


<dependent_on_field>u_message,u_message_reply</dependent_on_field>


<display>false</display>


<dynamic_creation>false</dynamic_creation>


<dynamic_creation_script/>


<dynamic_default_value display_value=""/>


<dynamic_ref_qual display_value=""/>


<element>u_message_list</element>


<element_reference>false</element_reference>


<foreign_database/>


<internal_type display_value="Journal List">journal_list</internal_type>


The dependent field used to show as a string field and you could add comma separated field names e.g. 'comments,work_notes', but things have now changed and it forces you pick a single field field.



However you can modify the field in list view to achieve the same results. Here's a screenshot showing the dependent field being edited from list view:



dependent.png


P.S. Not sure why there are 'Dependent' and 'Dependent on field' fields, but both contained the same values.



Here's what the list looks like, showing both dependent fields:


journal.png