sp_doc is the custom doctype and sp_indus is the attribute with a value assistance.
Enter the following command in the API Tester. NOTE the “t” before the custom_type
dump,c,tsp_doc.sp_indus
map_display_string [0]: Accountancy / Business, Finance & Law
[1]: Built Environment
[2]: Chemical & Life Sciences & Other Sciences
[3]: Engineering - Electrical & Electronics
[4]: Engineering - Mechanical / Manufacturing
[5]: Information Technology
[6]: Maritime Studies
[7]: Media & Design
map_data_string [0]: Indus01
[1]: Indus02
[2]: Indus03
[3]: Indus04
[4]: Indus05
[5]: Indus06
[6]: Indus07
[7]: Indus08
map_description [0]:
[1]:
[2]:
[3]:
[4]:
[5]:
[6]:
[7]:
attr_name : sp_indus





March 15, 2009 at 6:51 pm |
Has anyone tried this? This does not seem to work. The attribute for which i tried, actual uses a Value Assitance query, is that the reason it didnot work
March 16, 2009 at 8:51 am |
You got it right. When we use a query to populate the value assistance list, the API command will not work.