Reference to extended table fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 09:37 PM
var tbla = g_form.getReference('u_table_a');
if (tbla.u_field_b == 'true'){.....................
The code above does not work because 'u_field_b' belongs to 'u_table_b' which is an extended table of 'u_table_a'.
Is there any easy way to access 'u_field_b' using sys_id of 'u_table_a' in client script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 09:48 PM
Easy way ,
Navigate to tables and columns in the application navigator or the filter navigator,
Select the table name and its corresponding columns come visible in the right hand side.
For eg, I selected the Incident table and caller id is the reference field.
this is how we can fetch the email id of a caller by DOT-WALKING.
Copy the yellow marked text and paste it in client script code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 10:01 PM
Sorry. My question is about extended table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-24-2016 10:19 PM
Then, its just the
currenttablename.fieldname.
we need not reference it with the extended table name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2016 05:23 PM
I tried to alert 'tbla.u_field_b'. But it returned "Undefined".
I hope there is an additional qualifier for extended table.
Thanks.