cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Can we have a plugin developed for Arbortext editor in c#?

ptc-6732996
1-Newbie

Can we have a plugin developed for Arbortext editor in c#?

Can we develop a plugin for Arbortext editor in c#? over which i can authorize the text in editor.

1 ACCEPTED SOLUTION

Accepted Solutions
rdiaz
5-Regular Member
(To:ptc-6732996)

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.

View solution in original post

1 REPLY 1
rdiaz
5-Regular Member
(To:ptc-6732996)

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.
Top Tags