Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Can we develop a plugin for Arbortext editor in c#? over which i can authorize the text in editor.
Solved! Go to Solution.
Chaithanya,
To my knowledge, we do not support custom code in C#. The following is what we do support, from the Help Center:
• | A custom Java program can be placed in custom\init, which supports a .class file that must implement a public static void main (String[] args) method. The method will be called at startup with no arguments (an empty String array). If an error occurs, it's reported interactively for PTC Arbortext Editor or sent to the HTTP client for the Arbortext Publishing Engine. A custom Java program can also be placed in custom\classes, which supports .class or .jar files. We recommend putting Java applications in the custom\classes directory and calling or initializing them from the custom\init directory. Paths to .jar files in custom\classes are automatically prepended to the embedded PTC Arbortext Editor Java class path. Then the path to custom\classes is prepended, putting it first in the search order. |
• | A custom JavaScript, JScript, VBScript, or ACL application can be placed in custom\init or in custom\scripts. If you place your scripts in the custom\scripts directory, you can call them from a script or scripts you place in custom\init (which is processed at startup). Any code that exists outside a function definition in a script from custom\init is executed at startup time. Errors are reported if running interactively, otherwise they're suppressed. |
Chaithanya,
To my knowledge, we do not support custom code in C#. The following is what we do support, from the Help Center:
• | A custom Java program can be placed in custom\init, which supports a .class file that must implement a public static void main (String[] args) method. The method will be called at startup with no arguments (an empty String array). If an error occurs, it's reported interactively for PTC Arbortext Editor or sent to the HTTP client for the Arbortext Publishing Engine. A custom Java program can also be placed in custom\classes, which supports .class or .jar files. We recommend putting Java applications in the custom\classes directory and calling or initializing them from the custom\init directory. Paths to .jar files in custom\classes are automatically prepended to the embedded PTC Arbortext Editor Java class path. Then the path to custom\classes is prepended, putting it first in the search order. |
• | A custom JavaScript, JScript, VBScript, or ACL application can be placed in custom\init or in custom\scripts. If you place your scripts in the custom\scripts directory, you can call them from a script or scripts you place in custom\init (which is processed at startup). Any code that exists outside a function definition in a script from custom\init is executed at startup time. Errors are reported if running interactively, otherwise they're suppressed. |