NoteNote

The content in this topic only applies to Microsoft Dynamics NAV 2009 SP1. For Microsoft Dynamics NAV 2009 content, see Developer and IT Pro Help for Microsoft Dynamics NAV 2009.

To use a RoleTailored client control add-in on a RoleTailored client page, you must register the assembly that contains the control add-in in the Client Add-in table of the Microsoft Dynamics NAV 2009 database. To register an assembly, you provide the assembly's public key token. The public key token is a unique 16-character key that is given to the assembly when it is built and signed in Microsoft Visual Studio. To determine the public token key, you can run the Strong Name tool (sn.exe) on the assembly. The sn.exe is available with the Microsoft .NET Framework SDK. For more information about signing assemblies, see Strong Name or How to: Create a RoleTailored Client Control Add-in.

To determine the add-in's public key token

  1. Locate the sn.exe file.

    The default folder for the Microsoft .NET Framework SDK is C:\program files\microsoft sdks\windows\v7.0\Bin.

  2. At the command prompt, change to the directory that contains the sn.exe utility.

  3. Type the following command:

      CopyCode imageCopy Code
    sn.exe -T <assembly>
    

    Replace <assembly> with the add-in assembly's path and file name, such as Program Files\Microsoft Dynamics NAV\60\RoleTailored Client\Add-ins\MyCompany.MyProduct.RtcAddins.dll.

  4. Press ENTER and note the public token key that is displayed.

See Also