Open topic with navigation
This following information describes how to develop your own custom Page Interaction event handlers by providing general guidelines and code samples.
This page contains the following information:
See the following related pages:
Use these guidelines when developing Page Interaction event handlers:
Note: You can also use a template to create this event handler type. For more information, see Visual Studio templates.
Review the following code sample for a Page Interaction event handler.
The following code sample illustrates how to use a helper method to obtain the string path of the custom pages for an application on the web server. The GetRelativePathToCustomPages() method is available on the IUrlHelper interface in the Relativity.API namespace. For more information, see Use API helper classes and Simplify custom page URLs.
Note: You may want to reference the RelativityInstanceURL instance setting if you are creating external links for users to access your application. Your Relativity admin can configure this value for your environment. See Instance setting table and Instance settings' descriptions on the Relativity 9.6 Documentation site.