Answered Writing SQL query in BCS

Todas las respuestas

  • jueves, 19 de abril de 2012 13:21
     
     Respondida

    Kishore,

    I've used a 3rd party shareware add on to simply enter my query to connect a SharePoint 2007 list to external data: 

    http://www.layer2.de/en/products/Pages/SharePoint-Business-Data-List-Connector.aspx

    See the video on page. Hope that helps.

    Thanks, Frank

    • Marcado como respuesta Kishorekv jueves, 19 de abril de 2012 14:03
    •  
  • jueves, 19 de abril de 2012 14:05
     
     

    Hi Frank,

    Thanks for sharing nice video. Can you please guide me how to add the filters to filter the data. Can you also tell me is there anyother way without using the 3rd party tool?

    Thanks and regards,

    Kishore


    Kishore


    • Editado Kishorekv jueves, 19 de abril de 2012 14:10
    •  
  • jueves, 19 de abril de 2012 14:24
     
     

    Kishore,

    You can filter on different levels with BDLC. First you can filter directly in the SQL query, e.g. using a "where" expression. Finally you can filter using views in SharePoint for your list data, web parts for dynamic filters. So you have all native list features available...

    Thanks, Frank 

  • viernes, 20 de abril de 2012 9:12
     
     Respondida

    Hi Kishore,

    In SharePoint 2010 you may also correct BDC Model file (XML file) manually and modify SQL query in it. You may export deployed BDC Model either via SharePoint designer or through Central Administration. After that you will be able to modify XML BDC Model file and import it again as you did in SharePoint 2007.


    Dmitry

    Lightning Tools LogoLightning Tools Check out our SharePoint tools and web parts | Lightning Tools Blog


  • viernes, 20 de abril de 2012 13:18
     
     

    Hi Dmitry,

    Thanks for your answer. Is there any way other than this. We want personalization also. So can you please guide me.

    Thanks

    Kishore


    Kishore

  • viernes, 20 de abril de 2012 16:08
     
     

    Hi Kishore,

    The way to do an import and export? An export you my do via SharePoint designer. You should right click on the external content type and export the BDC Model.


    Dmitry

    Lightning Tools LogoLightning Tools Check out our SharePoint tools and web parts | Lightning Tools Blog