M
Michael S
Product: InfoPath 2007 browser enabled form connecting to multiple SharePoint
2007 list
Challenge:
I need to design a form that can query against one SharePoint list to
determine the department a user (using username()) is in then pass the
department’s unique identifier to another data connection (SharePoint list)
and return only those results specific to that department. I need the
filtering to happen on the server side because there are 65,000 rows.
My first design idea was to write some custom code, which would allow me to
call a specific SharePoint view. The view would be filtered by person or
group=me. This would work if I had only one user from each dept querying the
data and I associated their username with the rows, but I have multiple user
from each dept.
Any ideas on how I could query against one list to determine what department
the user is in then use that department’s unique identifier to query against
the second data source?
I would really appreciate any tips or links to resources.
Thanks!
2007 list
Challenge:
I need to design a form that can query against one SharePoint list to
determine the department a user (using username()) is in then pass the
department’s unique identifier to another data connection (SharePoint list)
and return only those results specific to that department. I need the
filtering to happen on the server side because there are 65,000 rows.
My first design idea was to write some custom code, which would allow me to
call a specific SharePoint view. The view would be filtered by person or
group=me. This would work if I had only one user from each dept querying the
data and I associated their username with the rows, but I have multiple user
from each dept.
Any ideas on how I could query against one list to determine what department
the user is in then use that department’s unique identifier to query against
the second data source?
I would really appreciate any tips or links to resources.
Thanks!