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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Locate File to Reference dialog box

gbélanger
11-Garnet

Locate File to Reference dialog box

Hi I'm triying to reproduce the default behavior for the insertion or edit for the element/attribute <img src="">, get a file_picker control (that Arbortext get automatically), I know that i can modify the operation with acl and js developpements, but i would like to know how Arbortext define the entitys and attributes to display the control file chooser?, it must be a config file somewhere, I would like to profit that behavior for other file document elements ex: <pdf src="">.

Thank you

2 REPLIES 2

@Jaime_Lee Please move this discussion in Arbortext forum, here: https://community.ptc.com/t5/Arbortext-Questions/bd-p/Arbortext

Normally, you would do this in ACL code, using the insert_tag document callback. Look up the help topic for "doc_add_callback" for information on how to use document callbacks, and specifically the "insert_tag" callback, to trigger a file chooser dialog (via "file_selector()" function) for your custom elements.

 

--Clay

Top Tags