Share via


GUID Generation

When developing a Business Portal integration, you may have to generate GUIDs (globally unique identifiers) for some of the items you create. A tool provided with Visual Studio makes this easy.

To create a GUID, use the following procedure.

  1. Open the Visual Studio .NET Command Prompt.

In the Program Group for Visual Studio .NET, point to Visual Studio .NET Tools and choose Visual Studio .NET Command Prompt. A command prompt will be displayed. This special command prompt window allows you to access tools for Visual Studio.

  1. Launch the GUID Generator.

At the command prompt, enter the following:

	guidgen

The Create GUID utility will appear.

  1. Specify the type of GUID to generate.

The Create GUID utility can generate GUIDs in several forms. For Business Portal integrations, GUIDs must be in the Registry format.

[spacer]

  1. Generate and copy the GUID.

To generate a new GUID, click New GUID. To copy the GUID to the clipboard to use in your integration, click Copy.