Page 1 of 1

Obtain table name instead of relationship name

PostPosted: Fri Nov 16, 2012 5:39 pm
by ylockson
For a field that is from a relationship and that currently has focus,
event.getSource().getDataProviderID()
returns a value in the following format:
relationship_name.field_name

Is it possible to programatically get the table name instead of the relationship name?

Re: Obtain table name instead of relationship name

PostPosted: Mon Nov 19, 2012 10:55 am
by rgansevles
ylockson,

You could use the solution model:

Code: Select all
solutionModel.getRelation('relationship_name').foreignDataSource


Rob

Re: Obtain table name instead of relationship name

PostPosted: Tue Nov 20, 2012 4:48 pm
by ylockson
Thanks Rob.