Share via


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

You can use a resource file to provide localized names for objects defined in a Business Data Connectivity (BDC) model. You can also define properties and apply permissions to objects defined in the model. To specify this information, add a Business Data Connectivity Resource item to a project that contains a Business Data Connectivity Model item. 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 project folder, and then select the folder that contains BDC model.

  2. On the Project menu, click Add New Item.

  3. In the Add New Item dialog box, select Business Data Connectivity Resource item.

  4. In the Name box, type the name of the resource file, and then click Add.

    A resource file that has the .bdcr extension is added to the project.

  5. In Solution Explorer, double-click the resource file.

    The resource file opens in the Visual Studio XML Editor.

  6. Add XML to define the localized names, properties, and access permissions that you want to apply the BDC model. For more 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