Показать сообщение отдельно
Старый 20.12.2009, 11:06   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
palleagermark: Data Set lookups on Enterprise Portal (EP)
Источник: http://palleagermark.blogspot.com/20...se-portal.html
==============

I just spent a complete day trying to make a simple lookup for EP. The lookup was intended to be a lookup on EmplTable, with the ability of filtering on the name of the employees, and it is supposed to return the employee id.

The query behind is built on EmplTable with an inner join to DirPartyTable to get the name.

The easy solution would have been to make a lookup based on a new Data Set, but in trying that I came across two odd limitations in this type of lookup:

  1. You’ll only be able to sort the lookup on the field you want return.
  2. The filter will only show tables from the outer table. The joined tables doesn’t show up.

I find these two facts limiting the usability of the lookup in such degree, that I can’t imagine the lookup was designed this way and I’m assuming it is my own limited skills preventing me from getting the lookup to work like I imagined.

I actually found one other data set, aimed at driving a lookup in standard, built after same model, but it doesn’t seem to be used from the EP application...

Do you have any experience with Data Set lookup based on joined tables and do you know if this lookup could be achieved with a Data Set lookup? Please comment.

B.t.w. I solved the lookup by developing a new user control with a temporary table to drive the lookup.


Источник: http://palleagermark.blogspot.com/20...se-portal.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.