×
Menu
Index

3.3.14.6. Exporting values to value lists fields

 
If you want to export to value list fields using his name (ex: country name), instead of the ID, now you can use this built in conversion functions:
 
search_mfiles_listvalue_id
 
Search the value by name (case sensitive).
 
searchadd_mfiles_listvalue_id
 
Search the value by name and as as new value if it is not found.
 
Optionally if you're using a object type as a list, you can specify the operation parameters to allows ChronoScan to create the new object on M-FILES it it doesn't exists:
 
 
searchadd_mfiles_listvalue_id|ADDOBJ|OBJTYPE|CLASSID|PROPID
 
ADDOBJ , add a new object (not list value) if it is not found.
OBJTYPE = object type ID
CLASSID = class ID
propid = property we want to set on the new object (only one allowed)
 
Example for built-in customer class/object type:
 
searchadd_mfiles_listvalue_id|ADDOBJ|136|78|1110