Skip to main content
1-Visitor
April 19, 2016
Solved

symbol drop-down list is empty for schema

  • April 19, 2016
  • 2 replies
  • 2226 views

We have recently changed from DTD to a schema. Since doing so we have lost our entities/symbols from the drop-down list. From what I have read on this forum site, it appears that PTC has not made an atempt to resolve this issue. I am wondering if anyone has come up with a solution. I would appreciate if anyone could provide a few suggestions. Thanks

    Best answer by ClayHelberg

    Hi Kathleen--

    You can work around this using some ACL code. In your editinit.acl file, add the following:

         require _findentdlg;

         set entitylist="...";

         _findentdlg::_updateEntityList(current_window(),current_doc());

    Replace the "..." with a space delimited list of entity references. With a schema, you won't have named character entities, so you'll have to use numeric entities, for example if you want to include the copyright and trademark symbols, it would look like this:

         set entitylist="© ™"

    For some reason, just setting the entitylist option string won't update the droplist automatically, that's why you have to use the _findentdlg::_updateEntityList() function to do that.

    --Clay

    2 replies

    18-Opal
    April 19, 2016

    Hi Kathleen--

    You can work around this using some ACL code. In your editinit.acl file, add the following:

         require _findentdlg;

         set entitylist="...";

         _findentdlg::_updateEntityList(current_window(),current_doc());

    Replace the "..." with a space delimited list of entity references. With a schema, you won't have named character entities, so you'll have to use numeric entities, for example if you want to include the copyright and trademark symbols, it would look like this:

         set entitylist="© ™"

    For some reason, just setting the entitylist option string won't update the droplist automatically, that's why you have to use the _findentdlg::_updateEntityList() function to do that.

    --Clay

    1-Visitor
    May 30, 2016

    Sorry it took me so long to respond...just tried it now and it works perfectly. Thanks a bunch!

    5-Regular Member
    May 27, 2016

    Hi Kathleen,

    Did Clay's answer help you get this resolved?

    Let us know if you need additional help!

    12-Amethyst
    May 30, 2016

    Yes - it worked perfectly!