Creating a BCS Content Source using PowerShell

You can use the following command to create a content source to crawl a Business Data Connectivity Service (BDCS).

$lobSystems = @("LOBSystemName1","LOBSystemNameInstance1") 
New-SPEnterpriseSearchCrawlContentSource -name "My Content Source Name" -searchapplication "My Search Service Application Name" -Type Business -LOBSystemSet $lobSystems

If the LOBSystemName is not correct the content source gets created but the model you want to search is not checked.

To figure out the right values for the LOBSystemName and LOBSystemInstanceName look no further than the bdcm file in your solution. Open the .bdcm file in notepad and use the Name attributes of the LobSystem and LobSystemInstance nodes.

 


					
  • http://twitter.com/vinnyq12 Vincent Quigley

    This didn’t work for me, I had to add -BDCApplicationProxyGroup to New-SPEnterpriseSearchCrawlContentSource. I got it from here http://social.technet.microsoft.com/forums/en/sharepointadminprevious/thread/44b159d8-2134-47a8-a6c7-b6bfa4ad533c.

    I don’t know why this works and the one above doesn’t for me.

  • baadshah songs free download

    NTR Up coming Movie Baadshah.In This Movie Kajal Agarwal is acting as actress and
    Other artists Acting in this movie are Prakash Raj,Nav Deep,Ritu Varma,Ahuti Prasad, Ajay,Raghu Babu,Supreet.Baadshah film is directed by Srinu Vaitla. His previous movie is Dookudu which was a blockbuster movie.Baadshah film is produced by successful producer Bandla Ganesh.In Bandla Ganesh’s career Baadshah is a high budget movie. Banner is Parameshwara Art Productions.music director is Thaman.

    http://www.telugusuperheroes.com/index.php/baadshah-songs

  • Ram Movies List

    Energetic Hero Ram Came Into The Telugu Cinema Industry In 2006. Ram’s father is
    Murali pothineni. He is the brother of film producer Ravi Kishore pothineni who is populary is Sravanthi Ravi Kishnore.Ram’s Full name is Pothineni Seetha Ram
    Chowdary.Ram had acted in a short film as in tamil and english languages in his 14 years age. The short film name is adayalam for which Ram had got many awards. Those awards are 2002 – best actor for short film, Europe film festival, Switzerland. Ram was
    First introduced as Telugu Hero with Devadas in2006 on 11th January . Hero Ram Main Lead Up Coming Movie Is Ongole Gitta.

    http://www.telugusuperheroes.com/index.php/ram-details

  • http://www.jugarfriv.org/ friv

    I using PowerShell. thank you

  • http://www.kizi2.com/ kizi

    Good. i have just downloaded PowerShell. I will try it. Thanks for share.

  • http://www.yepi6.org/ yepi6

    I will try to see how it

  • http://www.kizi-2.net/ kizi2

    I still do not know the software, but I will find out