I suggest to go and read below articles on BDC before proceeding here.
Business Data Catalog (BDC) Part - 1
Business Data Catalog (BDC) Part - 2
Business Data Catalog (BDC) Part - 3
Business Data Catalog (BDC) Part - 4
Also
Business Data Catalog (BDC) Part - 6
Business Data Catalog (BDC) Part - 7
Ok, let’s continue the series of BDC.
Now we have the complete XML and example in our hand, we can play with it. Search is something very important nowadays.
Here we are going to integrate the search in our BDC Example. Let’s directly play with it to see it in action.
Open the XML, locate to the in the XML. You must find it almost at the end of the XML.
So after that , write down the following Tags.
<Actions>
<Action Name="Seach in Windows Live!" Position="1" IsOpenedInNewWindow="true"
Url="http://search.live.com/results.aspx?q={0}" ImageUrl="">
<ActionParameters>
<ActionParameter Name="au_fname" Index="0" />
</ActionParameters>
</Action>
</Actions>
This will add one more option in toolbar of the detailed view profile page. Let’s add one more Action in the toolbar. We used this query string because if you search in Live., you should know that this is the query string that is used for search in Live.
Add this tag inside <Actions></Actions> tag only. That means we will have two actions. Let’s this action search it from Google. So we use its Query string and pass our parameter.
<Action Name="Seach in Google!" Position="2" IsOpenedInNewWindow="true"
Url="http://www.google.com/search?q={0}" ImageUrl="">
<ActionParameters>
<ActionParameter Name="au_fname" Index="0" />
</ActionParameters>
</Action>
Perform the same steps again to import the Application Definition XML File from central administrator and from your SSP.
Check out the actions now.
No comments:
Post a Comment