0

We have a number of Actions defined in a BDC (Business Data Catalog) definition in SharePoint, and need to change the order they are displayed in the UI.

Within the Action defintion, there is a Position field, which we are specifying, however, the UI wants to display everything in Alphabetical order, which isn't what we are after.

An example of the Position section of the BDC Definition is shown below.

Do you know how this could be achieved successfully ?

<Action 
  Position="10" 
  IsOpenedInNewWindow="true" 
  Url="http://www.google.co.uk/search?q=%22{0}%22"
  ImageUrl="/_layouts/1033/images/TAH/Google.gif" 
  Name="Google for Assured Name">
    <ActionParameters>
        <ActionParameter Index="0" Name="assured_name" />
    </ActionParameters>
</Action>

(PS I did consider putting this on SuperUser, but there is no BDC there, and there are a number of BDC related questions on here, so here it is... ;) )

1
  • Are the Actions on the BDC Action Web Part in the correct order? Commented Nov 12, 2009 at 14:48

2 Answers 2

1

You could do through the naming of your actions, for example:

  • 01 This is the first action
  • 02 This is the second action

A bit of a hack, but it should work.

0

There is no MSDN documentation for the Position attribute other than verifying its existence (see Action documentation) but it seems reasonable to assume that it should do what you require.

I suspect that the lack of documentation is due to this feature not being fully implemented.

Something that may work is to add leading spaces in the Name attribute. If BDC does not strip these spaces automatically you could use it to cause the alphabetical ordering to do what you require (the more leading spaces you have, the further down the list the action will appear). When rendered as HTML the spaces will likely be stripped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.