bafadam

Is there any way that I can change the default action through the XML schema I don't want the default action to be viewing the profile, I want it to be something else I define, but I still want the View Profile option to be available to the user.

Any ideas



Re: SharePoint - Business Data Catalog Change Default Action (Currently View Profile)

Stefan Keir Gordon

Code Snippet

<Actions> <Action Name="Search product on MSN" Position="1" IsDisplayed="true" IsOpenedInNewWindow="true" Url="http://search.msn.com/results.aspx &amp;q={0}" ImageUrl=""> <ActionParameters> <ActionParameter Name="Name" Index="0" /> </ActionParameters> </Action> </Actions>


Also remember you can export an application definition from the SSP to examine how the action you create in the GUI is saved.




Re: SharePoint - Business Data Catalog Change Default Action (Currently View Profile)

Schau

Your're jsut describing how to add an Action.

Here's what you need to do.

Add/change the Entity property "Default Action" to the name of the action you want as default.

Code Snippet

<Entity EstimatedInstanceCount="1800" Name="Consultancy Request">

<Properties>

<Property Name="Title" Type="System.String">Consultancy Request</Property>

<Property Name="DefaultAction" Type="System.String">Search product on MSN</Property>

<Property Name="__BdcLastModifiedTimeStamp" Type="System.String">LAST_UPDATED</Property>

</Properties>