Partager via


How to: Use a Resource File to Specify Localized Names, Properties, and Permissions

By using a resource file, you can provide localized names, define properties, and apply permissions tor objects that are defined in a Business Data Connectivity (BDC) model. To specify this information, you add a Business Data Connectivity Resource item to a project that contains a Business Data Connectivity Model item. Then you specify names, properties and permissions by editing the XML for the resource file.

To add a BDC resource file to a SharePoint project

  1. In Solution Explorer, expand the folder for the SharePoint project, and then choose the folder that contains the BDC model.

  2. On the menu bar, choose Project, Add New Item.

  3. Expand the SharePoint node, and then choose the 2010 node.

  4. In the Add New Item dialog box, choose Business Data Connectivity Resource Item.

  5. In the Name box, specify the name of the resource file, and then choose the Add button.

    A resource file that has the .bdcr extension is added to the project and opened for editing.

  6. Add XML to define the localized names, properties, and permissions that you want to apply the BDC model.

    For information about how to define these elements, see Model and Resource Files.

See Also

Tasks

How to: Add an Existing BDC Model File to a SharePoint Project

How to: Create a BDC Model

How to: Include a Custom Assembly in a BDC Feature

Other Resources

Creating a Business Data Connectivity Model

Integrating Business Data into SharePoint