MSDN > フォーラム ホーム > SharePoint - Design and Customization > Insert List as a DataSource and Filter it according a parameter .
質問する質問する
 

回答済みInsert List as a DataSource and Filter it according a parameter .

  • 2009年7月2日 9:18himo ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     

    Hello ,

     -  I have a List (ProjectList) in  my SharePointSite  .

     - Then I create an new Page.aspx  by SharePoint Designer .

     -  I open DataSourceLibrary ..... Then SharePointLists ..... select  ProjectList......RightClick and Choose insert  DataSource Control .

     - When The DataSource Control Created .  Then I need to Filter it .

     - I choose Configure DataSource and Press Button " Filter " . The "Filter Criteria " windows is opened .

     - In this windows there is a problem  :  The Value Column forced me a put a static value and cannot create a new parameter .

    -
    So How  I can Create a new Parameter in a value column .

     


    ASk

回答

  • 2009年7月2日 10:16Peter Holpar ユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み
    Hi,

    It seems you cannot use parameters when filtering in the Data Source.

    Why do not use a Data View Web Part where you would be able to filter data received from your data source by parameters, for example by one that received from a filter web part?

    Peter
  • 2009年7月3日 10:21Xue-Mei Chang-MSFTMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    Hi,


    As Peter said, you cannot use parameter to filter a data source in SPD. You should insert a data view and set the data source to the list, after this you can filter the list by parameters. You can create data view parameter from (in the data view>click “common data view tasks”>”Parameters”).

     

    Hope it can help you.


    Xue-Mei Chang

すべての返信